gwenhywfar  4.3.1
Modules | Enumerations
Sockets and Socket Sets
Operating System Abstraction

Modules

 Socket Set Functions
 Socket Functions

Enumerations

enum  GWEN_SOCKETTYPE {
  GWEN_SocketTypeTCP = 1, GWEN_SocketTypeUDP, GWEN_SocketTypeRAW, GWEN_SocketTypeUnix,
  GWEN_SocketTypeFile
}

Error Codes

#define GWEN_SOCKET_ERROR_TYPE   "Socket"
#define GWEN_SOCKET_ERROR_BAD_SOCKETTYPE   (-1)
#define GWEN_SOCKET_ERROR_NOT_OPEN   (-2)
#define GWEN_SOCKET_ERROR_TIMEOUT   (-3)
#define GWEN_SOCKET_ERROR_IN_PROGRESS   (-4)
#define GWEN_SOCKET_ERROR_STARTUP   (-5)
#define GWEN_SOCKET_ERROR_INTERRUPTED   (-6)
#define GWEN_SOCKET_ERROR_UNSUPPORTED   (-7)
#define GWEN_SOCKET_ERROR_ABORTED   (-8)
#define GWEN_SOCKET_ERROR_BROKEN_PIPE   (-9)

Detailed Description

This module handles sockets and socket sets.


Define Documentation

#define GWEN_SOCKET_ERROR_ABORTED   (-8)

Definition at line 73 of file inetsocket.h.

Definition at line 66 of file inetsocket.h.

#define GWEN_SOCKET_ERROR_BROKEN_PIPE   (-9)

Definition at line 74 of file inetsocket.h.

#define GWEN_SOCKET_ERROR_IN_PROGRESS   (-4)

Definition at line 69 of file inetsocket.h.

#define GWEN_SOCKET_ERROR_INTERRUPTED   (-6)

Definition at line 71 of file inetsocket.h.

#define GWEN_SOCKET_ERROR_NOT_OPEN   (-2)

Definition at line 67 of file inetsocket.h.

#define GWEN_SOCKET_ERROR_STARTUP   (-5)

Definition at line 70 of file inetsocket.h.

#define GWEN_SOCKET_ERROR_TIMEOUT   (-3)

Definition at line 68 of file inetsocket.h.

#define GWEN_SOCKET_ERROR_TYPE   "Socket"

Definition at line 65 of file inetsocket.h.

#define GWEN_SOCKET_ERROR_UNSUPPORTED   (-7)

Definition at line 72 of file inetsocket.h.


Enumeration Type Documentation

Socket types

Enumerator:
GWEN_SocketTypeTCP 
GWEN_SocketTypeUDP 
GWEN_SocketTypeRAW 
GWEN_SocketTypeUnix 
GWEN_SocketTypeFile 

Definition at line 81 of file inetsocket.h.