Hi, On Tue, Dec 14, 2010 at 03:16:53PM -0800, Vineet Kumar wrote: > Is there a straightforward way to print source IP address and port > given a 'struct context' pointer?
If I read code and structures right, it's in
context_pointer->c2->to_link_addr->dest
and there's a number of calls in forward.c that do:
print_link_socket_actual (c->c2.to_link_addr, &gc),
(which doesn't actually *print*, but return a string that can be used
in msg() - see the code examples in forward.c)
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
pgpXd1NKe8VKc.pgp
Description: PGP signature
