ConnectionOpenAsync Method (Boolean, ProtocolAddress, Flags) |
Opens a socket.
Namespace:
Demo3D.Net
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntaxpublic 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:
TaskConnectionThe socket.
See Also