win32.winsock

\ winsock.d * * Windows API header module * * Translated from MinGW Windows headers * by Stewart Gordon * \**********************************************************************

Members

Aliases

FD_ISSET
alias FD_ISSET = __WSAFDIsSet
Undocumented in source.
LPWSADATA
alias LPWSADATA = WSADATA*
Undocumented in source.
PFD_SET, LPFD_SET
alias PFD_SET, LPFD_SET = FD_SET*
Undocumented in source.
PHOSTENT, LPHOSTENT
alias PHOSTENT, LPHOSTENT = HOSTENT*
Undocumented in source.
PIN_ADDR, LPIN_ADDR
alias PIN_ADDR, LPIN_ADDR = IN_ADDR*
Undocumented in source.
PLINGER, LPLINGER
alias PLINGER, LPLINGER = LINGER*
Undocumented in source.
PPROTOENT, LPPROTOENT
alias PPROTOENT, LPPROTOENT = PROTOENT*
Undocumented in source.
PSERVENT, LPSERVENT
alias PSERVENT, LPSERVENT = SERVENT*
Undocumented in source.
PSOCKADDR, LPSOCKADDR
alias PSOCKADDR, LPSOCKADDR = SOCKADDR*
Undocumented in source.
PSOCKADDR_IN, LPSOCKADDR_IN
alias PSOCKADDR_IN, LPSOCKADDR_IN = SOCKADDR_IN*
Undocumented in source.
PTIMEVAL, LPTIMEVAL
alias PTIMEVAL, LPTIMEVAL = TIMEVAL*
Undocumented in source.
WSAGETASYNCBUFLEN, WSAGETSELECTEVENT
alias WSAGETASYNCBUFLEN, WSAGETSELECTEVENT = LOWORD
Undocumented in source.
WSAGETASYNCERROR, WSAGETSELECTERROR
alias WSAGETASYNCERROR, WSAGETSELECTERROR = HIWORD
Undocumented in source.
WSAMAKEASYNCREPLY, WSAMAKESELECTREPLY
alias WSAMAKEASYNCREPLY, WSAMAKESELECTREPLY = MAKELONG
Undocumented in source.
h_errno
alias h_errno = WSAGetLastError
Undocumented in source.
u_char
alias u_char = char
Undocumented in source.
u_int, u_long, SOCKET
alias u_int, u_long, SOCKET = uint
Undocumented in source.
u_short
alias u_short = ushort
Undocumented in source.

Enums

AF_UNSPEC
anonymousenum AF_UNSPEC
Undocumented in source.
FIONBIO
anonymousenum FIONBIO
Undocumented in source.
HOST_NOT_FOUND
anonymousenum HOST_NOT_FOUND
Undocumented in source.
IMPLINK_IP
anonymousenum IMPLINK_IP
Undocumented in source.
IPPORT_ECHO
anonymousenum IPPORT_ECHO
Undocumented in source.
IPPROTO_IP
anonymousenum IPPROTO_IP
Undocumented in source.
IP_MULTICAST_IF
anonymousenum IP_MULTICAST_IF
Undocumented in source.
PF_UNSPEC
anonymousenum PF_UNSPEC
Undocumented in source.
SD_RECEIVE
anonymousenum SD_RECEIVE
Undocumented in source.
SOCK_STREAM
anonymousenum SOCK_STREAM
Undocumented in source.
SO_SNDBUF
anonymousenum SO_SNDBUF
Undocumented in source.
WSABASEERR
anonymousenum WSABASEERR
Undocumented in source.

Functions

FD_CLR
void FD_CLR(SOCKET fd, FD_SET* set)
Undocumented in source. Be warned that the author may not have intended to support it.
FD_ZERO
void FD_ZERO(FD_SET* set)
Undocumented in source. Be warned that the author may not have intended to support it.
IN_CLASSA
bool IN_CLASSA(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
IN_CLASSB
bool IN_CLASSB(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
IN_CLASSC
bool IN_CLASSC(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
WSAAsyncGetHostByAddr
HANDLE WSAAsyncGetHostByAddr(HWND , u_int , const(char)* , int , int , char* , int )
Undocumented in source.
WSAAsyncGetHostByName
HANDLE WSAAsyncGetHostByName(HWND , u_int , const(char)* , char* , int )
Undocumented in source.
WSAAsyncGetProtoByName
HANDLE WSAAsyncGetProtoByName(HWND , u_int , const(char)* , char* , int )
Undocumented in source.
WSAAsyncGetProtoByNumber
HANDLE WSAAsyncGetProtoByNumber(HWND , u_int , int , char* , int )
Undocumented in source.
WSAAsyncGetServByName
HANDLE WSAAsyncGetServByName(HWND , u_int , const(char)* , const(char)* , char* , int )
Undocumented in source.
WSAAsyncGetServByPort
HANDLE WSAAsyncGetServByPort(HWND , u_int , int , const(char)* , char* , int )
Undocumented in source.
WSAAsyncSelect
int WSAAsyncSelect(SOCKET , HWND , u_int , int )
Undocumented in source.
WSACancelAsyncRequest
int WSACancelAsyncRequest(HANDLE )
Undocumented in source.
WSACancelBlockingCall
int WSACancelBlockingCall()
Undocumented in source.
WSACleanup
int WSACleanup()
Undocumented in source.
WSAGetLastError
int WSAGetLastError()
Undocumented in source.
WSAIsBlocking
BOOL WSAIsBlocking()
Undocumented in source.
WSASetBlockingHook
FARPROC WSASetBlockingHook(FARPROC )
Undocumented in source.
WSASetLastError
void WSASetLastError(int )
Undocumented in source.
WSAStartup
int WSAStartup(WORD , LPWSADATA )
Undocumented in source.
WSAUnhookBlockingHook
int WSAUnhookBlockingHook()
Undocumented in source.
__WSAFDIsSet
int __WSAFDIsSet(SOCKET , FD_SET* )
Undocumented in source.
accept
SOCKET accept(SOCKET , SOCKADDR* , int* )
Undocumented in source.
bind
int bind(SOCKET , const(SOCKADDR)* , int )
Undocumented in source.
closesocket
int closesocket(SOCKET )
Undocumented in source.
connect
int connect(SOCKET , const(SOCKADDR)* , int )
Undocumented in source.
gethostbyaddr
HOSTENT* gethostbyaddr(const(char)* , int , int )
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
gethostbyname
HOSTENT* gethostbyname(const(char)* )
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
gethostname
int gethostname(char* , int )
Undocumented in source.
getpeername
int getpeername(SOCKET , SOCKADDR* , int* )
Undocumented in source.
getprotobyname
PROTOENT* getprotobyname(const(char)* )
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
getprotobynumber
PROTOENT* getprotobynumber(int )
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
getservbyname
SERVENT* getservbyname(const(char)* , const(char)* )
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
getservbyport
SERVENT* getservbyport(int , const(char)* )
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
getsockname
int getsockname(SOCKET , SOCKADDR* , int* )
Undocumented in source.
getsockopt
int getsockopt(SOCKET , int , int , char* , int* )
Undocumented in source.
htonl
u_long htonl(u_long )
Undocumented in source.
htons
u_short htons(u_short )
Undocumented in source.
inet_addr
uint inet_addr(const(char)* )
Undocumented in source.
inet_ntoa
char* inet_ntoa(IN_ADDR )
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
ioctlsocket
int ioctlsocket(SOCKET , int , u_long* )
Undocumented in source.
listen
int listen(SOCKET , int )
Undocumented in source.
ntohl
u_long ntohl(u_long )
Undocumented in source.
ntohs
u_short ntohs(u_short )
Undocumented in source.
recv
int recv(SOCKET , char* , int , int )
Undocumented in source.
recvfrom
int recvfrom(SOCKET , char* , int , int , SOCKADDR* , int* )
Undocumented in source.
select
int select(int nfds, FD_SET* , FD_SET* , FD_SET* , const(TIMEVAL)* )
Undocumented in source.
send
int send(SOCKET , const(char)* , int , int )
Undocumented in source.
sendto
int sendto(SOCKET , const(char)* , int , int , const(SOCKADDR)* , int )
Undocumented in source.
setsockopt
int setsockopt(SOCKET , int , int , const(char)* , int )
Undocumented in source.
shutdown
int shutdown(SOCKET , int )
Undocumented in source.
socket
SOCKET socket(int , int , int )
Undocumented in source.
timerclear
void timerclear(TIMEVAL tvp)
Undocumented in source. Be warned that the author may not have intended to support it.
timerisset
bool timerisset(TIMEVAL tvp)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

FD_SET
struct FD_SET
Undocumented in source.
HOSTENT
struct HOSTENT
Undocumented in source.
IN_ADDR
struct IN_ADDR
Undocumented in source.
LINGER
struct LINGER
Undocumented in source.
PROTOENT
struct PROTOENT
Undocumented in source.
SERVENT
struct SERVENT
Undocumented in source.
SOCKADDR
struct SOCKADDR
Undocumented in source.
SOCKADDR_IN
struct SOCKADDR_IN
Undocumented in source.
TIMEVAL
struct TIMEVAL
Undocumented in source.
WSADATA
struct WSADATA
Undocumented in source.
ip_mreq
struct ip_mreq
Undocumented in source.
netent
struct netent
Undocumented in source.
sockproto
struct sockproto
FD_ACCEPT
int FD_ACCEPT;
FD_CLOSE
int FD_CLOSE;
FD_CONNECT
int FD_CONNECT;
FD_OOB
int FD_OOB;
Undocumented in source.

Variables

FD_READ
int FD_READ;
Undocumented in source.
FD_SETSIZE
size_t FD_SETSIZE;
FD_WRITE
int FD_WRITE;
Undocumented in source.
INADDR_ANY
u_long INADDR_ANY;
INADDR_BROADCAST
u_long INADDR_BROADCAST;
INADDR_LOOPBACK
u_long INADDR_LOOPBACK;
INADDR_NONE
u_long INADDR_NONE;
Undocumented in source.
INVALID_SOCKET
SOCKET INVALID_SOCKET;
Undocumented in source.
IN_CLASSA_HOST
auto IN_CLASSA_HOST;
Undocumented in source.
IN_CLASSA_MAX
auto IN_CLASSA_MAX;
Undocumented in source.
IN_CLASSA_NET
auto IN_CLASSA_NET;
Undocumented in source.
IN_CLASSA_NSHIFT
auto IN_CLASSA_NSHIFT;
Undocumented in source.
IN_CLASSB_HOST
auto IN_CLASSB_HOST;
Undocumented in source.
IN_CLASSB_MAX
auto IN_CLASSB_MAX;
Undocumented in source.
IN_CLASSB_NET
auto IN_CLASSB_NET;
Undocumented in source.
IN_CLASSB_NSHIFT
auto IN_CLASSB_NSHIFT;
Undocumented in source.
IN_CLASSC_HOST
auto IN_CLASSC_HOST;
Undocumented in source.
IN_CLASSC_NET
auto IN_CLASSC_NET;
Undocumented in source.
IN_CLASSC_NSHIFT
auto IN_CLASSC_NSHIFT;
Undocumented in source.
IP_DEFAULT_MULTICAST_LOOP
auto IP_DEFAULT_MULTICAST_LOOP;
Undocumented in source.
IP_DEFAULT_MULTICAST_TTL
auto IP_DEFAULT_MULTICAST_TTL;
Undocumented in source.
IP_MAX_MEMBERSHIPS
auto IP_MAX_MEMBERSHIPS;
Undocumented in source.
IP_OPTIONS
auto IP_OPTIONS;
Undocumented in source.
MAXGETHOSTSTRUCT
size_t MAXGETHOSTSTRUCT;
MSG_DONTROUTE
int MSG_DONTROUTE;
MSG_MAXIOVLEN
int MSG_MAXIOVLEN;
Undocumented in source.
MSG_OOB
int MSG_OOB;
MSG_PARTIAL
int MSG_PARTIAL;
MSG_PEEK
int MSG_PEEK;
Undocumented in source.
SOCKET_ERROR
int SOCKET_ERROR;
Undocumented in source.
SOL_SOCKET
int SOL_SOCKET;
Undocumented in source.
SOMAXCONN
int SOMAXCONN;
SO_ACCEPTCONN
int SO_ACCEPTCONN;
SO_BROADCAST
int SO_BROADCAST;
Undocumented in source.
SO_DEBUG
int SO_DEBUG;
SO_DONTLINGER
int SO_DONTLINGER;
SO_DONTROUTE
int SO_DONTROUTE;
SO_KEEPALIVE
int SO_KEEPALIVE;
SO_LINGER
int SO_LINGER;
SO_OOBINLINE
int SO_OOBINLINE;
SO_REUSEADDR
int SO_REUSEADDR;
SO_USELOOPBACK
int SO_USELOOPBACK;
Undocumented in source.
TCP_NODELAY
int TCP_NODELAY;
Undocumented in source.
WSADESCRIPTION_LEN
size_t WSADESCRIPTION_LEN;
WSASYS_STATUS_LEN
size_t WSASYS_STATUS_LEN;
Undocumented in source.

Meta