ConnectedDatagramSocket

Wrapper for connection oriented datagram sockets.

Alias This

sock

Members

Functions

accept
ConnectedDatagramSocket accept(SockAddr clientAddr, Timeout timeout)

draws a new client connection from a listening socket

sendObj
void sendObj(const(T) data, int flags, Timeout timeout)

send an entire object

Static functions

connect
ConnectedDatagramSocket connect(SockAddr sa, Timeout timeout)
ConnectedDatagramSocket connect(SockAddrUnix sa, Timeout timeout)

Create a stream socket and connect, as client, to the address supplied

listen
ConnectedDatagramSocket listen(SockAddr sa, bool reuseAddr)
ConnectedDatagramSocket listen(SockAddrUnix sa, bool reuseAddr)

Create a datagram stream socket and bind, as a listening server, to the address supplied

Variables

sock
Socket sock;
Undocumented in source.

Meta