Network traffic analysis

This time, we'll work on a program that receives a network connection and sends back some data. We will be using the file available at Once you have it downloaded, execute it from the Terminal as follows:

The program is a server program that waits for connections to port 9999. To test this out, open a browser, then use the IP address of the machine where the server is running, plus the port. For example, use if you're trying this from your own machine. You might see something like the following output:

To understand ...

Get Mastering Reverse Engineering now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.