[zeromq-dev] 0MQ 3.0 - API improvements

Martin Sustrik sustrik at 250bpm.com
Fri Apr 8 08:20:40 CEST 2011


On 04/08/2011 08:19 AM, Martin Sustrik wrote:

> Maybe a cleaner way would be to put few hard-wired bytes at the
> beginning of the socket structure and check those in each function,
> returning EFAULT if it does not match.

Oops. I meant ENOTSOCK, obviously, to mimic the POSIX behaviour.

Martin



More information about the zeromq-dev mailing list