Learn how to evaluate and integrate the VNC SDK
DirectUdpConnector¶
-
class
vncsdk.
DirectUdpConnector
¶ Connector used to make outgoing UDP connections
Constructor Summary¶
Modifier and Type | Method and Description |
---|---|
__init__() Creates a new UDP Connector which is used to make outgoing connections to UDP listeners. |
Method Summary¶
Modifier and Type | Method and Description |
---|---|
Begins an outgoing UDP connection to the given hostname or IP address. |
|
Destroys the UDP Connector. |
Constructor¶
-
vncsdk.DirectUdpConnector.
__init__
()¶ Creates a new UDP Connector which is used to make outgoing connections to UDP listeners.
For more information, see
vnc_DirectUdpConnector_create()
.
Methods¶
-
DirectUdpConnector.
connect
(host_or_ip_address, port, connection_handler)¶ Begins an outgoing UDP connection to the given hostname or IP address.
For more information, see
vnc_DirectUdpConnector_connect()
.Parameters: - host_or_ip_address (str) –
- port (int) –
- connection_handler (
vncsdk.ConnectionHandler
) –
-
DirectUdpConnector.
destroy
()¶ Destroys the UDP Connector.
For more information, see
vnc_DirectUdpConnector_destroy()
.