Name
int hydra_connect_tcp(unsigned long int host, int port) — Used to make a connection to a service using TCP
Synopsis
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.
Get Network Security Tools now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.