Name

int hydra_data_ready_writing_timed(int socket, long sec, long usec) — Checks whether the socket is ready to have data written to it

Synopsis

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