On 09/09/2010 04:48 PM, John Baker wrote:
On Thursday 09 September 2010 15:45:44 you wrote:
Nice.
I spoke too soon. I'm now trying to figure out how to print out the IP address
of the socket (I don't really do C) so I can log the socket that caused the
poll to timeout, and compare with a tcpdump.
Try with getsockname, but it's not a trivial task.
Perhaps using /proc/pid/fd
and matching the socket# we have with the actual info
eg.
32 -> socket:[port]
Regards
--
^TM
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org