Name

int hydra_connect_udp(unsigned long int host, int port) — Used to make a connection to a service using UDP

Synopsis

This function sets up a socket for communicating to the host defined by the IP address host on port port, using UDP. host is the ip value passed into the module, and the port value is either the standard port for the service, or 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.