OverlappedConnectedSocket.beginSend

Sends data asynchronously to a connected socket.

class OverlappedConnectedSocket
@trusted
bool
beginSend
(
ubyte[] buffer
,,
Flags flags = Flags(Flag.none)
)

Parameters

buffer ubyte[]

Data to be sent.

flags Flags

Flags.

overlapped SocketState

Unique operation identifier.

Return Value

Type: bool

$(D_KEYWORD true) if the operation could be finished synchronously. $(D_KEYWORD false) otherwise.

Throws

$(D_PSYMBOL SocketException) if unable to send.

Meta