Drago <(E-Mail Removed)> wrote:
> Yes, this is just a code fragment, and I removed checking return
> statements to produce more clear source.
> All of the setsockopt calls return 0. The sock is actually connected
> and data is read, until plugging the lan cable.
> After that poll just sleeps.
What does tcpdump show you the system trying to do - for example with
the connection idle but the cable connected, does it show the
keepalive probes being sent when you were expecting them to? I'm
wondering if perhaps there is some silent bounds conformance happening
to the values you provide in the setsockopt() calls for the idle time
before keepalives and how often and how many should be sent.
rick jones
--
No need to believe in either side, or any side. There is no cause.
There's only yourself. The belief is in your own precision. - Joubert
these opinions are mine, all mine; HP might not want them anyway...

feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...