#define HeapFree(x, y, z)
#define WideCharToMultiByte
INT WSAAPI recvfrom(IN SOCKET s, OUT CHAR FAR *buf, IN INT len, IN INT flags, OUT LPSOCKADDR from, IN OUT INT FAR *fromlen)
INT WSAAPI select(IN INT s, IN OUT LPFD_SET readfds, IN OUT LPFD_SET writefds, IN OUT LPFD_SET exceptfds, IN CONST struct timeval *timeout)
INT WSAAPI sendto(IN SOCKET s, IN CONST CHAR FAR *buf, IN INT len, IN INT flags, IN CONST struct sockaddr *to, IN INT tolen)
INT WINAPI WSAStartup(IN WORD wVersionRequested, OUT LPWSADATA lpWSAData)
_In_ uint64_t _In_ uint64_t _In_ uint64_t _In_opt_ traverse_ptr * tp
PHOSTENT WSAAPI gethostbyname(IN const char FAR *name)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
static BOOL SendData(PINFO pInfo)
static VOID DestroyConnection(VOID)
static BOOL InitConnection(PINFO pInfo, LPSTR lpAddress)
ULONG GetServerTime(LPWSTR lpAddress)
static ULONG ReceiveData(PINFO pInfo)
static BOOL GetTransmitTime(PTIMEPACKET ptp)
SOCKET WSAAPI socket(IN INT af, IN INT type, IN INT protocol)
TIMEPACKET TransmitTimestamp
int PASCAL FAR WSACleanup(void)