Sockets and Socket Sets
Operating System Abstraction

## Topics

| Socket Set Functions

## Error Codes

enum | GWEN_SOCKETTYPE { GWEN_SocketTypeTCP =1 , GWEN_SocketTypeUDP , GWEN_SocketTypeRAW , GWEN_SocketTypeUnix , GWEN_SocketTypeFile }
#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.

## Macro Definition Documentation

## GWEN_SOCKET_ERROR_ABORTED

#define GWEN_SOCKET_ERROR_ABORTED (-8)

Definition at line 75 of file inetsocket.h.

## GWEN_SOCKET_ERROR_BAD_SOCKETTYPE

#define GWEN_SOCKET_ERROR_BAD_SOCKETTYPE (-1)

Definition at line 68 of file inetsocket.h.

## GWEN_SOCKET_ERROR_BROKEN_PIPE

#define GWEN_SOCKET_ERROR_BROKEN_PIPE (-9)

Definition at line 76 of file inetsocket.h.

## GWEN_SOCKET_ERROR_IN_PROGRESS

#define GWEN_SOCKET_ERROR_IN_PROGRESS (-4)

Definition at line 71 of file inetsocket.h.

## GWEN_SOCKET_ERROR_INTERRUPTED

#define GWEN_SOCKET_ERROR_INTERRUPTED (-6)

Definition at line 73 of file inetsocket.h.

## GWEN_SOCKET_ERROR_NOT_OPEN

#define GWEN_SOCKET_ERROR_NOT_OPEN (-2)

Definition at line 69 of file inetsocket.h.

## GWEN_SOCKET_ERROR_STARTUP

#define GWEN_SOCKET_ERROR_STARTUP (-5)

Definition at line 72 of file inetsocket.h.

## GWEN_SOCKET_ERROR_TIMEOUT

#define GWEN_SOCKET_ERROR_TIMEOUT (-3)

Definition at line 70 of file inetsocket.h.

## GWEN_SOCKET_ERROR_TYPE

#define GWEN_SOCKET_ERROR_TYPE "Socket"

Definition at line 67 of file inetsocket.h.

## GWEN_SOCKET_ERROR_UNSUPPORTED

#define GWEN_SOCKET_ERROR_UNSUPPORTED (-7)

Definition at line 74 of file inetsocket.h.

## Enumeration Type Documentation

## GWEN_SOCKETTYPE

enum GWEN_SOCKETTYPE

Socket types

Enumerator
GWEN_SocketTypeTCP |
GWEN_SocketTypeUDP |
GWEN_SocketTypeRAW |
GWEN_SocketTypeUnix |
GWEN_SocketTypeFile |

Definition at line 83 of file inetsocket.h.