timeout for connect() call in libbsd

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jan 10 13:52:34 UTC 2019


Hello Matthew,

On 10/01/2019 14:46, Matthew J Fletcher wrote:
> Hi,
>
> How do i modify the default blocking delay when i call connect() ?, i 
> would still like it to block, but instead of the current 75 seconds, i 
> would like to lower it.

https://www.freebsd.org/cgi/man.cgi?query=tcp&sektion=4

Please have a look at the TCP_KEEPINIT option.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list