UdpSocketOpenAsync Method (Boolean, Int32, Flags) |
Opens a UDP server.
Namespace:
Demo3D.Net.Protocols
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntaxpublic static Task<Client<IPacketIOService>> OpenAsync(
bool sync,
int port,
Flags flags = default
)
Parameters
- sync
- Type: SystemBoolean
If true, the Task returned is guaranteed to be complete. - port
- Type: SystemInt32
The port to run the server on. - flags (Optional)
- Type: Demo3D.NetFlags
Connection flags.
Return Value
Type:
TaskClientIPacketIOServiceA new UDP server.
See Also