Skip to content

Simple MultiThreading TCP Echo Server

Notifications You must be signed in to change notification settings

nelsonov/echoserver

Repository files navigation

Simple echo TCP server

Usage: ./server -p <port> [-a <ip>]
  -a  --allow <ip>   Allow the IPs to send data to the server
  -p  --port  <port> Listening port
Examples:
./server -p 1234 
./server -p 1234 -a 192.168.1.1-8 
./server -p 1234 -a 192.168.1.* 
./server -p 1234 -a 192.168.1.1,4,19

Connect to server:

$ nc -vv localhost 1234

Useful for testing TCP applications

About

Simple MultiThreading TCP Echo Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published