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