src/node/socket.h
changeset 646 f7475a7c5ae6
parent 607 1b7abeccfcda
child 728 95c426b1cb60
equal deleted inserted replaced
645:07fc20ad3925 646:f7475a7c5ae6
    44 {
    44 {
    45 public:
    45 public:
    46   virtual ~Socket();
    46   virtual ~Socket();
    47 
    47 
    48   enum SocketErrno {
    48   enum SocketErrno {
    49     ENOTERROR,
    49     ERROR_NOTERROR,
    50     EISCONN,
    50     ERROR_ISCONN,
    51     ENOTCONN,
    51     ERROR_NOTCONN,
    52     EMSGSIZE,
    52     ERROR_MSGSIZE,
    53     EAGAIN,
    53     ERROR_AGAIN,
    54     ESHUTDOWN,
    54     ERROR_SHUTDOWN,
    55     EOPNOTSUPP,
    55     ERROR_OPNOTSUPP,
    56     SOCKET_ERRNO_LAST
    56     SOCKET_ERRNO_LAST
    57   };
    57   };
    58 
    58 
    59   /**
    59   /**
    60    * \return the errno associated to the last call which failed in this
    60    * \return the errno associated to the last call which failed in this