[fpc-devel] MSG_NOSIGNAL in Mac OS X

Marco van de Voort marcov at stack.nl
Thu Sep 18 14:12:39 CEST 2008


In our previous episode, Felipe Monteiro de Carvalho said:
> Some searching says it doesn't exist in Mac OS X:
> 
> http://lists.apple.com/archives/macnetworkprog/2002/Dec/msg00091.html
> 
> But they have an equivalent.

I checked on my 10.4 and it is as there. It is not in the headers, and
SO_nosigpipe is with value $1022
 
> Curiously, my very simple webserver worked when hardcoding the constant =P
> 
> http://wiki.lazarus.freepascal.org/Networking#Webserver_example

More research required then. I assumed you found it in Apple's headers.



More information about the fpc-devel mailing list