Firewall Wizards mailing list archives

Re: Code reviews [Was: FWTK and smap/smapd]


From: Darren Reed <darrenr () reed wattle id au>
Date: Wed, 24 Jul 2002 02:06:55 +1000 (EST)

In some email I received from ark () eltex ru, sie wrote:
nuqneH,

It depends on what the maximum buflen is, isn't it?

Nope!

 Nowadays, I have far lower expectations. I have now interviewed dozens of 
 "UNIX network programmers", and have had _one_ person ever get this 
 interview question correct (taken from a fwtk bug, btw):
 
 Given a buffer char *buf, a buffer length unsigned int buflen, and a 
 connected TCP session on file descriptor fd, write the buffer to the file 
 descriptor correctly, including error checking.

btw, I only got 1 (I'd argue I thought of the other but the spec for the
function wasn't very precise so I discounted it:)...but found bugs in
stevens' code ;)

_______________________________________________
firewall-wizards mailing list
firewall-wizards () honor icsalabs com
http://honor.icsalabs.com/mailman/listinfo/firewall-wizards


Current thread: