Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

DirectTcpConnector

class DirectTcpConnector

Connector used to make outgoing TCP connections

For more information, see vnc_DirectTcpConnector in the C API documentation.

Implements

Constructor summary

Modifier and Type Method and Description

DirectTcpConnector()

Creates a new TCP Connector which is used to make outgoing connections to TCP listeners.

Method summary

Modifier and Type Method and Description
void

DirectTcpConnector.SetProxySettings(Boolean systemProxy, String proxyUrl)

Set proxy server settings for this TCP Connector.

void

DirectTcpConnector.Dispose()

Destroys the TCP Connector.

void

DirectTcpConnector.Connect(String hostOrIpAddress, Int32 port, ConnectionHandler connectionHandler)

Begins an outgoing TCP connection to the given hostname or IP address.

Constructors

DirectTcpConnector ()

Creates a new TCP Connector which is used to make outgoing connections to TCP listeners.

For more information, see vnc_DirectTcpConnector_create() in the C API documentation.

Methods

void DirectTcpConnector.SetProxySettings (Boolean systemProxy, String proxyUrl)

Set proxy server settings for this TCP Connector.

For more information, see vnc_DirectTcpConnector_setProxySettings() in the C API documentation.

void DirectTcpConnector.Dispose ()

Destroys the TCP Connector.

For more information, see vnc_DirectTcpConnector_destroy() in the C API documentation.

void DirectTcpConnector.Connect (String hostOrIpAddress, Int32 port, ConnectionHandler connectionHandler)

Begins an outgoing TCP connection to the given hostname or IP address.

For more information, see vnc_DirectTcpConnector_connect() in the C API documentation.

×