TpktClientOpenAsync Method (String, Int32, NotifyDataChangedEventHandler) |
Open a TPKT connection.
Namespace:
Demo3D.Net.Protocols
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 18.04.00
Syntaxpublic static Task<Client<IPacketIOService>> OpenAsync(
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:
TaskClientIPacketIOServiceA new TPKT client.
See Also