Method

GVncConnectionopen_host

Declaration [src]

gboolean
vnc_connection_open_host (
  VncConnection* conn,
  const char* host,
  const char* port
)

Description [src]

Open a TCP connection to the remote desktop at host listening on port.

Parameters

host const char*
 

The host name or IP address.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
port const char*
 

The service name or port number.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: gboolean
 

TRUE if a connection was opened, FALSE if already open.