View Full Version : socket - segmentation fault
weasal
02-24-2002, 05:49 PM
Alright, I 'm testing a client/server example. As soon as a client connects I receive a segmentation fault on the server. Where should I start looking?
thanks in advance
starX
02-24-2002, 10:09 PM
at your code somewhere :)
seriously, your best bet is to ask your friendly neighborhood debugger. clients and servers tend to be mighty big chunks of code, and gdb will help you a great deal in figuring out what function there's a seg fault.
Although my first hint would be to look at any place where you're using a pointer. It's usually got something to do with that.
starX
www.axisoftime.com
rohit
02-25-2002, 10:17 AM
can we see uor code
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.