April 2005
Intermediate to advanced
344 pages
11h 59m
English
int hydra_connect_tcp(unsigned long int host, int port) — Used to make a connection to a service using TCP
This function makes a connection to the host defined by the IP
address host, on port port,
using TCP. host is the ip value
passed into the module, and the port value usually
is a standard port for the service; however, it also can be
user-defined. The function returns a socket value used in sending and
receiving operations, or -1 on error.
Read now
Unlock full access