#include <winsock.h>
Go to the source code of this file.
Namespaces | |
| namespace | wkgl |
Defines | |
| #define | UINT unsigned int |
| #define | SFLAG unsigned short |
| #define | SERROR_NOERROR 0 |
| Returned when there is no error. | |
| #define | SERROR_CONNECT -2 |
| Returned when the socket failed to connect. | |
| #define | SERROR_HOST -3 |
| Returned when the host address is invalid. | |
| #define | SERROR_NOCREATE -4 |
| Returned when the socket failed to create. | |
| #define | SERROR_NOCLOSE -5 |
| Returned when the socket fails to close. | |
| #define | SERROR_TYPE -6 |
| Returned when the address type is unknown. | |
| #define | SERROR_SEND -7 |
| Returned when send fails. | |
| #define | SERROR_RECV -8 |
| Returned when recv fails. | |
| #define | SERROR_CLOSED -1 |
| Returned when if you attempt an operation when the socket is closed. | |
| #define | STYPE_IP 1 |
| The type of address is number dot formated, e.g. | |
| #define | STYPE_HOSTNAME 2 |
| The type of address is a host name, e.g. | |
|
|
Returned when if you attempt an operation when the socket is closed.
|
|
|
Returned when the socket failed to connect.
|
|
|
Returned when the host address is invalid.
|
|
|
Returned when the socket fails to close.
|
|
|
Returned when the socket failed to create.
|
|
|
Returned when there is no error.
|
|
|
Returned when recv fails.
|
|
|
Returned when send fails.
|
|
|
Returned when the address type is unknown.
|
|
|
|
|
|
The type of address is a host name, e.g. "www.yahoo.com" |
|
|
The type of address is number dot formated, e.g. "111.256.2.13" |
|
|
|
1.2.18