> Hoping is not enough when changing random values. 
> See http://bugs.freepascal.org/view.php?id=9401 
> for more info.

Wow. Many thanks!

I read that MSG_NOSIGNAL is now supported by MacOS, too, but I don't
really know.

So now I am calling fpsetsockopt with SO_NOSIGPIPE as the first thing
after every fpSocket call. That should probably do it, right?

The bug comments on the above URL are not totally clear because you
cannot actually pass any options to the Connect call. So I assume
you should use fpsetsockopt before the Connect call.

Cheers,
Tobias


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to