Name

int hydra_data_ready_timed(int socket, long sec, long usec) — Checks whether the socket has data ready to be read

Synopsis

This function waits up to sec seconds and usec microseconds to see if the socket socket has data available for reading. This function returns a value greater than zero if the socket has data for reading, 0 if no data is available, and -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.