|
-
December 30th, 2009, 01:14 AM
#15
Re: invalid socket in accept()
Try changing your first argument in the call to socket() from AF_INET to PF_INET! (both client and server)
I would try to run valgrind or leak detection software to see if there are buffer overruns and leaks.
http://valgrind.org/
http://www.codeproject.com/KB/applic...eakfinder.aspx
Last edited by ahoodin; December 30th, 2009 at 01:34 AM.
ahoodin
To keep the plot moving, that's why.

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|