make udb4Server PORT=1234
make udb6Server PORT=1234
you can then communicate with the server using for example netcat:
nc -u 127.0.0.1 1234
RANDOM DATA
make tcp4ServerWithThreads PORT=1234 MAX_CONNECTIONS=2
you can then communicate with the server using for example netcat:
nc 127.0.0.1 1234
RANDOM DATA
it will print tcp handshake and acknowledge the data
and it will be printed on the server side
make httpServer PORT=1234 MAX_CONNECTIONS=4
you can then communicate with the server using for example curl:
curl 127.0.0.1:1234 -v