Click or drag to resize

ConnectionOpenAsync(Boolean, ProtocolAddress, Flags, Object) Method

Opens a socket.

Namespace: Demo3D.Net
Assembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntax
C#
public static Task<Connection> OpenAsync(
	bool sync,
	ProtocolAddress address,
	Flags flags = default,
	Object? userState = null
)

Parameters

sync  Boolean
If true, the Task returned is guaranteed to be complete.
address  ProtocolAddress
Address to open.
flags  Flags  (Optional)
Connection flags.
userState  Object  (Optional)
User state.

Return Value

TaskConnection
The socket.
See Also