Here's the link to the project repository: https://github.com/arjun024/wikicoding
353 karma · joined November 9, 2013
* first 2 bytes: Address Family,
* next 2 bytes: port,
* next 2 bytes: ipaddr,
* next 8 bytes: zeroes.
so filler[2] and filler[3] will form a short which will contain the port number.