getRemotePort()? Urgent!

getRemotePort()? Urgent!

Post by beginne » Fri, 06 Aug 2004 21:47:42


Hi,

Is there any command like getRemoteHost() or getRemotePort()

to get the other end's IP address and Port number in a TCP
connection?

Reply me immediately.
 
 
 

getRemotePort()? Urgent!

Post by Nils O. Se » Fri, 06 Aug 2004 22:02:12


Yes, read your manpage for getpeername(2)