Learn how to evaluate and integrate the VNC SDK
DirectTcpConnector¶
-
class
vncsdk.
DirectTcpConnector
¶ Connector used to make outgoing TCP connections
Constructor Summary¶
Modifier and Type | Method and Description |
---|---|
__init__() Creates a new TCP Connector which is used to make outgoing connections to TCP listeners. |
Method Summary¶
Modifier and Type | Method and Description |
---|---|
Begins an outgoing TCP connection to the given hostname or IP address. |
|
Destroys the TCP Connector. |
|
Set proxy server settings for this TCP Connector. |
Constructor¶
-
vncsdk.DirectTcpConnector.
__init__
()¶ Creates a new TCP Connector which is used to make outgoing connections to TCP listeners.
For more information, see
vnc_DirectTcpConnector_create()
.
Methods¶
-
DirectTcpConnector.
connect
(host_or_ip_address, port, connection_handler)¶ Begins an outgoing TCP connection to the given hostname or IP address.
For more information, see
vnc_DirectTcpConnector_connect()
.Parameters: - host_or_ip_address (str) –
- port (int) –
- connection_handler (
vncsdk.ConnectionHandler
) –
-
DirectTcpConnector.
destroy
()¶ Destroys the TCP Connector.
For more information, see
vnc_DirectTcpConnector_destroy()
.
-
DirectTcpConnector.
set_proxy_settings
(system_proxy, proxy_url)¶ Set proxy server settings for this TCP Connector.
For more information, see
vnc_DirectTcpConnector_setProxySettings()
.Parameters: - system_proxy (bool) –
- proxy_url (str or None) –