[zeromq-dev] Handling errors from OpenPGM call pgm_transport_bind()

Steven McCoy steven.mccoy at miru.hk
Sat Dec 19 13:50:51 CET 2009


Application programmer or user error:

>        PGM_IF_ERROR_INVAL
>        PGM_IF_ERROR_XDEV
>        PGM_IF_ERROR_NODEV
>        PGM_IF_ERROR_NOTUNIQ
>        PGM_IF_ERROR_ADDRFAMILY
>        PGM_IF_ERROR_FAMILY
>        PGM_IF_ERROR_NODATA
>        PGM_IF_ERROR_NONAME
>        PGM_IF_ERROR_SERVICE

System error:

>        PGM_TRANSPORT_ERROR_MFILE
>        PGM_TRANSPORT_ERROR_NFILE
>        PGM_TRANSPORT_ERROR_NOMEM
>        PGM_IF_ERROR_MEMORY

DNS system error:

>       PGM_IF_ERROR_AGAIN
>       PGM_IF_ERROR_FAIL

Internal error:

>        PGM_TRANSPORT_ERROR_FAULT
>        PGM_TRANSPORT_ERROR_INVAL
>        PGM_TRANSPORT_ERROR_PERM
>        PGM_TRANSPORT_ERROR_NODEV
>        PGM_TRANSPORT_ERROR_NOPROTOOPT
>        PGM_TRANSPORT_ERROR_CONNRESET
>        PGM_TRANSPORT_ERROR_FAILED   /* catch all */
>        PGM_IF_ERROR_BADFLAGS
>        PGM_IF_ERROR_SOCKTYPE
>        PGM_IF_ERROR_FAULT



More information about the zeromq-dev mailing list