4 comments

[ 3.3 ms ] story [ 19.6 ms ] thread
That C code has a buffer overflow. Also they call atoi unnecessarily in each loop iteration.
This type of thing would not have been an issue 15 years ago. This is Richard Stevens socket programming 101.