Thread
:
Simple BSD Sockets Problem
View Single Post
Mar 2nd, 2008, 4:07 PM
#
4
The Dark
Expert Programmer
Join Date: Jun 2005
Posts: 852
Rep Power:
4
Re: Simple BSD Sockets Problem
You don't set numBytes to a value before using it. This code:
(
Toggle Plain Text
)
buf[numbytes] = '\0';
buf[numbytes] = '\0';
could then try to write to anywhere.
The Dark
View Public Profile
Find More Posts by The Dark