[zeromq-dev] MSG_DONTWAIT on AIX/HP-UX
Steven McCoy
steven.mccoy at miru.hk
Wed Nov 12 03:33:27 CET 2008
2008/11/11 Martin Sustrik <sustrik at fastmq.com>
>
> >> because MSG_DONTWAIT doesn't exist on every system, currently we use
> >> fcntl function to set socket to nonblocking mode. It can be found in
> >> svn, revision 610.
>
You can use fcntl() with platform appropriate flag (O_NONBLOCK, O_NDELAY,
FIONBIO) for almost every platform, Windows you can use ioctlsocket(), and
VMS/OS390 you can use ioctl().
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20081112/40f5a00b/attachment.htm>
More information about the zeromq-dev
mailing list