[zeromq-dev] 0MQ/2.0-beta1 on OSX

Steven McCoy steven.mccoy at miru.hk
Mon Jan 18 03:02:09 CET 2010

2010/1/18 Steven McCoy <steven.mccoy at miru.hk>

> The error code should be ENODEV.
Or to be different you can use ENXIO, for detecting network device
functionality you also have ENETDOWN and ENONET.  There are so many error
codes with overlapping domains, at a stretch you could also

For datagram sockets the state of the interface isn't normally important,
you should be able to unplug the cable and replug it in and resume
communications.  Similarly, receive side of connection orientated services
don't have to care too much.  It all depends on what conditions you are
expecting, do you expect the interface specified to be absolutely correct
and the error to be a transient state such as a network fault or do you want
to bail out and have to have the application keep retrying to connect?  A
transient adapter includes VPN connections such as PPTP from a desktop.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100118/a94e4b28/attachment.htm>

More information about the zeromq-dev mailing list