OverlappedStreamSocket.beginAccept

Begins an asynchronous operation to accept an incoming connection attempt.

class OverlappedStreamSocket
@trusted
bool
beginAccept

Parameters

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) on accept errors.

Meta