Name

int hydra_recv(int socket, char *buf, int length) — Receives data from the supplied socket

Synopsis

This function reads up to length data from the socket socket into the buffer buf. The function returns the amount of data read, or -1 on error. No translation of any type is done to the data received. This function should be used for binary protocols, as hydra_receive_line( ) performs some translation on data read.

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.