Skip to content

Commit

Permalink
More work on the example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
janpgit committed Dec 12, 2017
1 parent 8833e60 commit ac7a485
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tcp/tcp-sink-server.c
@@ -1,9 +1,18 @@
/*
* A simple TCP sink server running on a specified port - what is sent to it is
* just printed onto stdout. No data is sent back.
* A simple TCP sink server running on a specified port - what is sent to this
* server is just printed onto stdout. No data is sent back.
*
* Note: this example is IPv4 only!
*
* Try on a machine connected to the Internet and then point your browser to it,
* eg. start it like this:
*
* $ ./tcp-sink-server 8080
*
* Then in your browser, put:
*
* <host-where-sink-server-is-running>:8080
*
* (c) jp@devnull.cz, vlada@devnull.cz
*/

Expand Down

0 comments on commit ac7a485

Please sign in to comment.