Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

DirectUdpConnector

public final class DirectUdpConnector

Connector used to make outgoing UDP connections

Constructor Summary

  • DirectUdpConnector()

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

Method Summary

Modifier and Type Method and Description
void

connect(String hostOrIpAddress, int port, ConnectionHandler connectionHandler)

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

void

destroy()

Destroys the UDP Connector.

Constructors

public DirectUdpConnector() throws Library.VncException

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

For more information, see vnc_DirectUdpConnector_create().

Methods

public void connect(String hostOrIpAddress, int port, ConnectionHandler connectionHandler) throws Library.VncException

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

For more information, see vnc_DirectUdpConnector_connect().

public void destroy()

Destroys the UDP Connector.

For more information, see vnc_DirectUdpConnector_destroy().

×