GVnc.Connection.open_host

### Method

# GVnc Connectionopen_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`

  Type: `const char*`

  The host name or IP address.

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

`port`

  Type: `const char*`

  The service name or port number.

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

#### Return value

Type: `gboolean`

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