more.os.windows.sock

This module contains windows API definitions that are ABI compatible but may be slightly enhanced to take advantage of D semantics.

Public Imports

core.sys.windows.winsock2
public import core.sys.windows.winsock2 : timeval;

Members

Enums

SOCKET_ERROR
anonymousenum SOCKET_ERROR
Undocumented in source.
Shutdown
enum Shutdown
Undocumented in source.

Functions

WSAAccept
SocketHandle WSAAccept(SocketHandle sock, sockaddr* addr, uint* addrlen, void* , void* )
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WSACleanup
SockResult WSACleanup()
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WSAIoctl
SockResult WSAIoctl(SocketHandle sock, uint code, ubyte* inBuffer, uint inBufferLength, ubyte* outBuffer, uint outBufferLength, uint* bytesReturned, WSAOVERLAPPED* overlapped, WSAOVERLAPPED_COMPLETION_ROUTINE* completionRoutine)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WSAStartup
WindowsErrorCode WSAStartup(ushort VersionRequested, WSADATA* lpWSAData)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
_WSAIO
uint _WSAIO(uint x, uint y)
Undocumented in source. Be warned that the author may not have intended to support it.
_WSAIOR
uint _WSAIOR(uint x, uint y)
Undocumented in source. Be warned that the author may not have intended to support it.
_WSAIORW
uint _WSAIORW(uint x, uint y)
Undocumented in source. Be warned that the author may not have intended to support it.
_WSAIOW
uint _WSAIOW(uint x, uint y)
Undocumented in source. Be warned that the author may not have intended to support it.
accept
SocketHandle accept(SocketHandle sock, sockaddr* addr, int* addrlen)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
bind
SockResult bind(SocketHandle sock, const(sockaddr)* addr, cuint addrlen)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
connect
SockResult connect(SocketHandle sock, const(sockaddr)* addr, cuint addrlen)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
freeaddrinfo
void freeaddrinfo(addrinfo* ai)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
getaddrinfo
SockResult getaddrinfo(const(char)* nodename, const(char)* servname, const(addrinfo)* hints, addrinfo** res)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
gethostname
SockResult gethostname(const(char)* name, cint namelen)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
getnameinfo
SockResult getnameinfo(const(sockaddr)* sa, SocketHandle salen, char* host, cuint hostlen, char* serv, cuint servlen, cuint flags)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
getsockname
SockResult getsockname(SocketHandle sock, sockaddr* addr, uint* namelen)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
ioctlsocket
SockResult ioctlsocket(SocketHandle sock, uint cmd, void* arg)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
listen
SockResult listen(SocketHandle sock, cuint backlog)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
recv
SockLengthResult recv(SocketHandle sock, ubyte* buffer, cuint len, cuint flags)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
recvfrom
SockLengthResult recvfrom(SocketHandle sock, ubyte* buffer, uint len, uint flags, sockaddr* from, uint* fromlen)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
send
SockLengthResult send(SocketHandle sock, const(ubyte)* buffer, cuint len, cuint flags)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
sendto
SockLengthResult sendto(SocketHandle sock, const(ubyte)* buffer, uint len, uint flags, const(sockaddr)* to, uint tolen)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
shutdown
SockResult shutdown(SocketHandle sock, Shutdown how)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
socket
SocketHandle socket(cint af, cint type, cint protocol)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.

Manifest constants

IOCPARM_MASK
enum IOCPARM_MASK;
Undocumented in source.
IOC_IN
enum IOC_IN;
Undocumented in source.
IOC_INOUT
enum IOC_INOUT;
Undocumented in source.
IOC_OUT
enum IOC_OUT;
Undocumented in source.
IOC_VOID
enum IOC_VOID;
Undocumented in source.
IOC_WS2
enum IOC_WS2;
Undocumented in source.
SIO_GET_EXTENSION_FUNCTION_POINTER
enum SIO_GET_EXTENSION_FUNCTION_POINTER;
Undocumented in source.

Static variables

freeaddrinfoPointer
typeof(&freeaddrinfo) freeaddrinfoPointer;
Undocumented in source.
getaddrinfoPointer
typeof(&getaddrinfo) getaddrinfoPointer;
Undocumented in source.
getnameinfoPointer
typeof(&getnameinfo) getnameinfoPointer;
Undocumented in source.

Structs

WSADATA
struct WSADATA
Undocumented in source.
WSAOVERLAPPED
struct WSAOVERLAPPED
Undocumented in source.
WSAOVERLAPPED_COMPLETION_ROUTINE
struct WSAOVERLAPPED_COMPLETION_ROUTINE
Undocumented in source.
addrinfo
struct addrinfo
Undocumented in source.
fd_set_dynamic
struct fd_set_dynamic(Allocator)
Undocumented in source.

Variables

result
auto result;
Undocumented in source.
wsaData
WSADATA wsaData;
Undocumented in source.

Meta