Keep It Simple, Stupid | |
PerlMonks |
Re: function to count pending packets in TCP socketby Anonymous Monk |
on Feb 09, 2018 at 06:56 UTC ( [id://1208775]=note: print w/replies, xml ) | Need Help?? |
Dear Perl Monks, More than a week has passed since my last post in this thread without any reply. Hence I am assuming that nobody knows a Perl function which returns the send_q value of a socket connection. Meanwhile I helped myself by calling the Linux ss command from Perl and parsing its output. However I see this rather a work around than a clean solution. It imposes OS dependency and it creates a risk my program may fail in future, should any Linux update change the output format of the ss command. Therefore I am still interested, if a clean solution exists in Perl. Best regards Andreas
In Section
Seekers of Perl Wisdom
|
|