|
-
Jan 27th, 2007, 09:09 PM
#1
Thread Starter
Hyperactive Member
Chat Client.
Can any of you give me some ideas on how to create a chat client/server so i could run the server on my pc and about 5-10 friends connect to it?
Please Help Us To Save Ana
-If you have been Helped, Please Mark Thread [Resolved] using Thread Tools
-If someone has helped you, Please rate their post.
-
Jan 27th, 2007, 10:55 PM
#2
Re: Chat Client.
Microsoft Winsock Control.
Try searching, there are a million examples on this forum and the net.
You may be better off just reading a tutorial on the Winsock control itself. After that it will be pretty easy to make a chat program... or whatever else you want.
-
Jan 28th, 2007, 04:56 AM
#3
Re: Chat Client.
Hmm now sorry but i couldn't be bothered starting a new topic since it relates. But how exactly would you run your PC as a server im confused about how to go about it. I work with the winsock control alot when i make chat clients for game servers and just IP based chat clients. But i am unsure of how to go about running my PC as a server any answers or information???
-
Jan 28th, 2007, 05:28 AM
#4
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Jan 28th, 2007, 05:35 AM
#5
Re: Chat Client.
I'm not sure if looking at this code could help you but anyway, it uses the MSN network, a Windows Messenger clone in the codebank.
http://www.vbforums.com/showthread.php?t=325908
-
Jan 28th, 2007, 09:45 AM
#6
-
Jan 28th, 2007, 12:02 PM
#7
Hyperactive Member
Re: Chat Client.
hell lord to make your computer the server you have a different program to everyone else, this server program is where everyone will connect to and talk, the others will have a client program which will connect to your server when they are ready.
If a post has been usefull then Rate it! 
-
Jan 28th, 2007, 05:41 PM
#8
Re: Chat Client.
Seems difficult to make a server program for all clients to connect to. Im use to connecting to other servers.
-
Jan 29th, 2007, 05:58 PM
#9
Re: Chat Client.
 Originally Posted by Hell-Lord
Seems difficult to make a server program for all clients to connect to. Im use to connecting to other servers.
The only difference between your computer and a "server" is that you call the other computers "servers". The computer itself is exactly the same. (If you're behind a router you have to forward ports to the computer, but the computer doesn't change, from its role as a client to its role as a server.) The only thing that determines whether a particular computer is acting as a client or a server is the program running on it. If you run your email program, the computer is a mail client. If you run a chat server program on that same commputer (even at the same time) the computer is running as a chat server.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Jan 29th, 2007, 06:06 PM
#10
Re: Chat Client.
Seems difficult to make a server program for all clients to connect to. Im use to connecting to other servers.
Have you checked out the link which I pasted in post#4?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|