47 const char szGetRequest[] =
"GET / HTTP/1.0\r\n\r\n";
53 ok(iResult ==
strlen(szGetRequest),
"iResult = %d\n", iResult);
ACPI_SIZE strlen(const char *String)
static struct sockaddr_in sa
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 send(IN SOCKET s, IN CONST CHAR FAR *buf, IN INT len, IN INT flags)
PHOSTENT WSAAPI gethostbyname(IN const char FAR *name)
int WINAPI lstrlenA(LPCSTR lpString)
int GetRequestAndWait(SOCKET sck)
int ConnectToReactOSWebsite(SOCKET sck)
INT WSAAPI shutdown(IN SOCKET s, IN INT how)
SOCKET WSAAPI socket(IN INT af, IN INT type, IN INT protocol)
static void CreateSocket(void)
int PASCAL FAR WSAGetLastError(void)
int PASCAL FAR WSACleanup(void)