2014/10/09

Bash server

Server:
while true; do { echo -e 'HTTP/1.1 200 OK\r\n'; } | nc -l 8080; done

Client:
nc localhost 8080

No comments:

Post a Comment