DatagramTransport

Interface for datagram (UDP) transports.

Members

Functions

abort
void abort()

Close the transport immediately, without waiting for pending operations to complete.

sendTo
void sendTo(const(void)[] data, Address address)

Send the data bytes to the remote peer given by address (a transport-dependent target address).

Inherited Members

From BaseTransport

getExtraInfo
auto getExtraInfo()

Get optional transport information.

getExtraInfoPeername
string getExtraInfoPeername()
Undocumented in source.
getExtraInfoSocket
Socket getExtraInfoSocket()
Undocumented in source.
getExtraInfoSockname
string getExtraInfoSockname()
Undocumented in source.
close
void close()

Close the transport.

Meta