1#ifndef __WIN32_STREAMS_H
2#define __WIN32_STREAMS_H
8 int read(
int fd,
void *buf,
size_t count);
9 int write(
int fd,
const void *buf,
size_t count);
11 unsigned int sleep(
unsigned int seconds);
39 bool wait_for_termination =
false);
41 SOCKET GetSocket() {
return m_socket; }
44DWORD WINAPI fd2socket_fwd(LPVOID lpThreadParameter);
45DWORD WINAPI socket2fd_fwd(LPVOID lpThreadParameter);