int qSocketOpen ( const char *  hostname,
int  port 
)

Create a TCP socket for the remote host and port.

Parameters:
hostname remote hostname
port remote port
Returns:
the new socket descriptor, or -1 in case of invalid hostname, -2 in case of socket creation failure, -3 in case of connection failure.
Since:
8.1R
Note:

Definition at line 74 of file qSocket.c.


Generated on Mon Mar 26 07:00:52 2018 for JSOC_Documentation by  doxygen 1.5.7.1