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