Socket.addOnEvent

Emitted when a network-related event occurs. See #GSocketClient::event for more details.

class Socket
gulong
addOnEvent
(
void delegate
(
GSocketClientEvent
,
IOStream
,)
dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)

Meta

Since

2.38