I don't know how this code is supposed to work, but I know what a
segfault is. There's a funny netSocket pointer "client" that is
only once instantiated with 0 in the constructor (line 42) and
in every read operation (tcp) happily null-pointer-dereferenced
(line 223) --> BOOM!
As "client" is "delete"d in line 279, I assume that a
"client = new netSocket" was forgotten somewhere. But where?
m.
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel