Basic TCP Client/Server communication :
Build Steps :
- gcc -o server server.c
- gcc -o client client.c
Execute Steps :
- Run the server using ./server
- Run clients in other terminals ./client
- Server default listening port = 9000 on localhost
NOTE: Its for beginners ,who want to experience the socket code and analyse the problems during coding. There is always hope for changes in this code ,so please send the pull request for changes