[fpc-devel] MSG_NOSIGNAL in Mac OS X

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Sep 18 12:47:47 CEST 2008


Hello,

The sockets unit for Mac OS X (FPC 2.2.2) does not contain
MSG_NOSIGNAL, which is necessary for the correct functioning of the
Synapse library.

I modifyed the Synapse source (locally) to use $20000 for
MSG_NOSIGNAL, which is the same value for FreeBSD/NetBSD.

Note that I have very little knowledge of sockets, or what those
constants mean, or why they are necessary in Synapse. I am just saying
that maybe MSG_NOSIGNAL should be added to the darwin sockets unit.
What do you think?

 MSG_NOSIGNAL  = $20000;              { Do not generate SIGPIPE }

thanks,
--
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list