Discussion Section for November 29, 2012: Introduction to MP8


In Discussion Section

In ds10, you will write a networking program that will listen on a port number specified in the command line and prints out the message that is being sent to that port continuously.

Compiling and Running

To compile and run, use the following commands from a terminal on a Linux machine:

$ make
$ ./ds10 port_number

To send a command to your program, you could access the url 127.00.1:port_number/message from your web browser which will send an HTTP packet to your program.