/SocketExample

Linux example application showing the usage of sockets and TCP/IP

Primary LanguageC

SocketExample

Linux example application showing the usage of sockets and TCP/IP

Build

  1. make server
  2. make router
  3. make client

Run

  • In first terminal ./server
  • In second terminal ./router
  • Additional terminals ./client

In the clients type a message and enter, and expect to get the message back. Follow the messages in the server and router terminals.