Learn how to evaluate and integrate the VNC SDK
DirectUdpListener¶
-
class
vncsdk.
DirectUdpListener
¶ Listener used to receive incoming UDP connections
Nested Classes¶
Constructor Summary¶
Modifier and Type | Method and Description |
---|---|
__init__(port, address_list, connection_handler, callback) Begin listening for incoming UDP connections on the given port (IPv4 and IPv6). |
Constructor¶
-
vncsdk.DirectUdpListener.
__init__
(port, address_list, connection_handler, callback)¶ Begin listening for incoming UDP connections on the given port (IPv4 and IPv6).
For more information, see
vnc_DirectUdpListener_create()
.Parameters: - port (int) –
- address_list (str or None) –
- connection_handler (
vncsdk.ConnectionHandler
) – - callback (
vncsdk.DirectUdpListener.Callback
or None) –
Methods¶
-
DirectUdpListener.
destroy
()¶ Destroys the UDP listener.
For more information, see
vnc_DirectUdpListener_destroy()
.