* Norman Vine -- Saturday 13 December 2003 01:29:
> The client is constructed in pol() at the end of the file
Yepp, but in SGSocket::poll():
if (result > 0 && is_server && client == 0)
{
[...]
client = new netSocket();
client->setHandle( new_fd );
return 0;
}
So, the client is only set if (is_server != 0), which is not the case
when the socket is set up as a tcp client (SG_IO_OUT)! Hence --> BOOM!
m.
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel