View on GitHub

simple-tcp-chat

Simple client+server chat on tcp ip, with select()

Simple TCP IP Chat.

by Sole & BpArCuCTeMbI

Server

Server works on 5555 port, you could change it in

#define PORT 5555 

Client

Client connects like nc or telnet: ./client HOSTNAME PORT

Tags

af_inet, select(), nicknames