Main Page Class Hierarchy Compound List File List Compound Members File Members

# worm_socket.h File Reference

Go to the source code of this file.

## Enumerations
enum | SOCKET_CLOSE_TYPE { SOCKET_DONT_CLOSE, SOCKET_CLOSE_IMMEDIATELY, SOCKET_CLOSE_GRACEFULLY, SOCKET_CLOSE_SIMPLY }
enum | WS_FUNCTION_ID { WSF_NONE, WSF_IOCTLSOCK, WSF_SETSOCKOPT, WSF_GETSOCKOPT, WSF_GETSOCKOPT_ERR, WSF_SOCKET, WSF_INET_ADDR, WSF_GETHOSTBYADDR, WSF_CONNECT, WSF_SELECT, WSF_BIND, WSF_LISTEN, WSF_ACCEPT, WSF_SEND, WSF_RECV, WSF_RECVFROM }
enum | SOCKET_RECV_STATUS { RECV_STATUS_ERROR = -3, RECV_STATUS_BADPARAM = -2, RECV_STATUS_CLIENTCLOSED = -1, RECV_STATUS_COMPLETE = 0, RECV_STATUS_NOTHING = 1, RECV_STATUS_PARTIAL = 2, RECV_STATUS_TIMEDOUT = 3, RECV_STATUS_CANCELLED = 4 }
enum | SOCKET_SEND_STATUS { SEND_STATUS_ERROR = -3, SEND_STATUS_CLIENTCLOSED = -2, SEND_STATUS_BADPARAM = -1, SEND_STATUS_GOOD = 0, SEND_STATUS_TIMEDOUT = 1, SEND_STATUS_CANCELLED = 2 }

## Enumeration Type Documentation

enum SOCKET_CLOSE_TYPE

  | Enumeration values:
  SOCKET_DONT_CLOSE |
  SOCKET_CLOSE_IMMEDIATELY |
  SOCKET_CLOSE_GRACEFULLY |
  SOCKET_CLOSE_SIMPLY |
Definition at line 34 of file worm_socket.h.

enum SOCKET_RECV_STATUS

  | Enumeration values:
  RECV_STATUS_ERROR |
  RECV_STATUS_BADPARAM |
  RECV_STATUS_CLIENTCLOSED |
  RECV_STATUS_COMPLETE |
  RECV_STATUS_NOTHING |
  RECV_STATUS_PARTIAL |
  RECV_STATUS_TIMEDOUT |
  RECV_STATUS_CANCELLED |
Definition at line 70 of file worm_socket.h.

enum SOCKET_SEND_STATUS

  | Enumeration values:
  SEND_STATUS_ERROR |
  SEND_STATUS_CLIENTCLOSED |
  SEND_STATUS_BADPARAM |
  SEND_STATUS_GOOD |
  SEND_STATUS_TIMEDOUT |
  SEND_STATUS_CANCELLED |
Definition at line 82 of file worm_socket.h.

enum WS_FUNCTION_ID

  | Enumeration values:
  WSF_NONE |
  WSF_IOCTLSOCK |
  WSF_SETSOCKOPT |
  WSF_GETSOCKOPT |
  WSF_GETSOCKOPT_ERR |
  WSF_SOCKET |
  WSF_INET_ADDR |
  WSF_GETHOSTBYADDR |
  WSF_CONNECT |
  WSF_SELECT |
  WSF_BIND |
  WSF_LISTEN |
  WSF_ACCEPT |
  WSF_SEND |
  WSF_RECV |
  WSF_RECVFROM |
Definition at line 48 of file worm_socket.h. Referenced by worm_socket_exception::GetFunctionId().