|
|
|
Netcat.c
(opensource.apple.com)
|
|
83 points
by metamusic
3988 days ago
|
|
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! |
|
It's also from 1995.