Function OverlappedConnectedSocket.beginSend
Sends data asynchronously to a connected socket.
bool beginSend
(
ubyte[] buffer,
dlib .network .socket .SocketState overlapped,
std .typecons .BitFlags!(dlib.network.socket.ConnectionOrientedSocket.Flag,0) flags = BitFlags(0) .this(Flag .none)
) @trusted;
Parameters
Name | Description |
---|---|
buffer | Data to be sent. |
flags | Flags. |
overlapped | Unique operation identifier. |
Returns
true if the operation could be finished synchronously. false otherwise.
Throws
SocketException if unable to send.