Click or drag to resize

ProtocolSocketRegisterOpen Method

Registers a function to call after the socket is opened, but before the OnOpenedAsync event is fired.

Namespace: Demo3D.Net
Assembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntax
C#
public void RegisterOpen(
	ProtocolSocketOnRegisterOpenDelegate openDelegate,
	Object? registeredUserState = null
)

Parameters

openDelegate  ProtocolSocketOnRegisterOpenDelegate
The delegate to call.
registeredUserState  Object  (Optional)
Parameter to pass back to the callback.
Remarks
Delegates that throw an exception will prevent the socket opening.
See Also