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