Click or drag to resize

ConnectionOpenAsync Method (Boolean, ProtocolAddress, Flags)

Opens a socket.

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

Parameters

sync
Type: SystemBoolean
If true, the Task returned is guaranteed to be complete.
address
Type: Demo3D.NetProtocolAddress
Address to open.
flags (Optional)
Type: Demo3D.NetFlags
Connection flags.

Return Value

Type: TaskConnection
The socket.
See Also