Earlier in the chapter we looked at the basic use of sockect and how to use them to create an HTML web page client. In this extract the subject is extended to using sockets to implement a server - ...
If you compile with C99 or C11 selected then you will find that none of the following works. You need to add: #define _GNU_SOURCE to the start of the file. You pass getaddrinfo the IP address or the ...