Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: function to count pending packets in TCP socket

by Anonymous Monk
on Jan 31, 2018 at 18:08 UTC ( #1208209=note: print w/replies, xml ) Need Help??


in reply to function to count pending packets in TCP socket

A side note - Send-Q refers to amount of data queued (bytes), not number of packets.

Regarding your problem. Perhaps you could enable SO_KEEPALIVE on the socket, possibly with tweaked TCP_KEEP* values, so that recovery can happen in a timely manner? See Socket, socket(7), and tcp(7).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1208209]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2018-08-19 00:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (186 votes). Check out past polls.

    Notices?