View Single Post
Old Mar 2nd, 2008, 4:07 PM   #4
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 852
Rep Power: 4 The Dark is on a distinguished road
Re: Simple BSD Sockets Problem

You don't set numBytes to a value before using it. This code:
buf[numbytes] = '\0';
could then try to write to anywhere.
The Dark is offline   Reply With Quote