This is a multithreaded implementation of a simple chat server. It supports TCP/IP connections via IPv4 and IPv6.
The message protocol is simply a message up to 1024 bytes that is terminated by a newline. Messages from a user are echoed to all other users connected to the server.
This was written for a network programming class I took while at RPI.
The message protocol is simply a message up to 1024 bytes that is terminated by a newline. Messages from a user are echoed to all other users connected to the server.
This was written for a network programming class I took while at RPI.
Posted in:
[ Network ]
[ C ]
[ posted 08/13/10 @ 0523 -5 GMT ] by Sparky
[ Views( 34482 ) ] - [ Coments( 0 ) ]
[ posted 08/13/10 @ 0523 -5 GMT ] by Sparky
[ Views( 34482 ) ] - [ Coments( 0 ) ]