#include <sys/socket.h>
#include <netinet/in.h>
#include <errno.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <pthread.h>
Go to the source code of this file.
Defines | |
#define | INITNETLIB |
#define | _inline inline |
#define | INVALID_SOCKET -1 |
#define | SOCKET_ERROR -1 |
#define | closesocket close |
#define | ioctlsocket ioctl |
#define | _strnicmp strncasecmp |
#define | wsprintf sprintf |
#define | MAX_COMPUTERNAME_LENGTH 1024 |
#define | MAX_PATH 1024 |
#define | THREADHANDLE pthread_t |
#define | CONDVAR pthread_cond_t |
#define | CONDVARPTR pthread_cond_t* |
#define | THREADRETVALUE void* |
#define | WSAGetLastError GetLastError |
#define | ZeroMemory bzero |
#define | TRUE true |
#define | FALSE false |
#define | WAIT_OBJECT_0 0 |
#define | WAIT_TIMEOUT (DWORD)-1 |
Typedefs | |
typedef int | SOCKET |
typedef pid_t | HMODULE |
typedef unsigned long | DWORD |
typedef unsigned char | UCHAR |
typedef unsigned char | BYTE |
typedef unsigned short int | WORD |
typedef char * | LPSTR |
typedef const char * | LPCSTR |
typedef void * | LPVOID |
typedef pthread_mutex_t | CRITICAL_SECTION |
typedef bool | BOOL |
typedef WaitableObject * | WaitableObjectPtr |
Functions | |
int | GetLastError () |
void | Sleep (int millis) |
DWORD | WaitForMultipleObjects (DWORD howmany, const WaitableObjectPtr *array, BOOL WaitForAll, DWORD dwMillis) |
DWORD | WaitForSingleObject (const WaitableObject *object, DWORD dwMills) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|