UdpSocketOpen Method (String, Int32, NotifyDataChangedEventHandler) |
Opens a UDP connection.
Namespace:
Demo3D.Net.Protocols
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 18.04.00
Syntaxpublic static Client<IPacketIOService> Open(
string host,
int port,
NotifyDataChangedEventHandler dataChangedHandler
)
Parameters
- host
- Type: SystemString
The host to connect to. - port
- Type: SystemInt32
The port to connect to. - dataChangedHandler
- Type: Demo3D.NetNotifyDataChangedEventHandler
Data received handler.
Return Value
Type:
ClientIPacketIOServiceA new UDP client.
See Also