Name

ses_connect — Opens a TCP session and returns its handle.

Synopsis

session_handle ses_connect ( in host_and_port varchar );

Description

Requires dba privileges.

This function is used to establish a new TCP connection to the target host. It returns a special datatype which represents the session handle.

Parameters

host_and_port

The host and port number of the target host in the format <host>[:<port>]. If the optional port number defaults to 80 if not supplied.

Return Types

Returns a special internal datatype that represents the session handle. This session handle can be used in other session functions. Since this is an internal type it cannot be stored.