Netcat.c

Some highlights:

1. Take a look at 'gethostpoop' 2. Take a look at 'getportpoop' 3. Make sure to read the netdb.h rant in the function above. 4. #ifdef GAPING_SECURITY_HOLE

Nearly half the comments in the file are taking the piss out of BSD sockets. Enjoy!

83 points metamusic 11 years ago 22 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton