How can get local and remote IP address from TCP connect?
Hi,
Calling TCP connect from client side resuting four elements of the association 5-tuple to assigned, local-addr, local-process, foreign-addr, foreign-process. Is there any way to get the local and foreign IP address from the system after calling TCP connect in a C++ program?
Thank you.
Kind Regards,
Jupiter
Last edited by yhus; 09-07-2009 at 06:13 AM.
|