ConnectionOpenAsync Method (Boolean, ProtocolAddress, IEnumerableType, Flags) |
Opens a socket.
Namespace:
Demo3D.Net
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 14.0.0.10531
Syntaxpublic static Task<Connection> OpenAsync(
bool sync,
ProtocolAddress address,
IEnumerable<Type> services,
Flags flags = default
)
Parameters
- sync
- Type: SystemBoolean
If true, the Task returned is guaranteed to be complete. - address
- Type: Demo3D.NetProtocolAddress
Address to open. - services
- Type: System.Collections.GenericIEnumerableType
Required services. - flags (Optional)
- Type: Demo3D.NetFlags
Connection flags.
Return Value
Type:
TaskConnectionThe socket.
See Also