* RE: How to set connection timeout with sockets
@ 2003-05-20 19:25 Wright, David
0 siblings, 0 replies; 2+ messages in thread
From: Wright, David @ 2003-05-20 19:25 UTC (permalink / raw)
To: IGOR LURI, EMBEDDED LINUXPPC (Correo electrónico)
> I am doing an aplication with STREAM sockets and
> I need to know how can I set or modify the timeout value of
> the connection and the paquets sent.
>
> With function setsocketoption I am no t able to set it.
>
> If someone knows how can I do it, please send me the answer.
You can only set the TCP keepalive time via
/proc/sys/net/ipv4/tcp_keepalive_time
but that affects every TCP socket on the system. You'd also
need to set tcp_keepalive_intvl and tcp_keepalive_probes to
handle this completely.
-- David Wright, InfiniSwitch Corp.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* How to set connection timeout with sockets
@ 2003-05-20 6:09 IGOR LURI
0 siblings, 0 replies; 2+ messages in thread
From: IGOR LURI @ 2003-05-20 6:09 UTC (permalink / raw)
To: EMBEDDED LINUXPPC (Correo electrónico)
Hi all,
I am doing an aplication with STREAM sockets and
I need to know how can I set or modify the timeout value of the connection
and the paquets sent.
With function setsocketoption I am no t able to set it.
If someone knows how can I do it, please send me the answer.
Thanks in advance.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-20 19:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-20 19:25 How to set connection timeout with sockets Wright, David
-- strict thread matches above, loose matches on Subject: below --
2003-05-20 6:09 IGOR LURI
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.