Click to See Complete Forum and Search --> : TCP/IP Chat example and source code


Roller8
April 5th, 1999, 10:07 AM
Hello everyone. I would like to learn how to write a simple client to clilent (no server)chat program for use over either the internet or LAN. I would like to be able to choose a particular peer or peers to send to and possibly be able to engage in chat with multiple peers simultaneously. Could anyone please guide me to some source showing the basic use of sockets and how to listen and connect simultaneously. All help is greatly appreciated. Thanks in advance.

April 5th, 1999, 11:35 AM
Hi,
If you are looking for some samples for a Chat program you can find CHATSRVR and CHATTER samples in MFC Samples. If you are new to sockets programming this is a great place to start. Go through the source code and you will get a pretty good idea as to how sockets work and then later on you can craft your own chat programs.

Regards
Mahanthi@Rocketmail.com

Roller8
April 5th, 1999, 02:22 PM
Thank you very much for your input. I looked at those programs briefly but they seem to be client server models. I'd like to learn how to do client to client chat. Thanks again.