man getpeername
>HI all,
>I am running a server through inetd written in C.
>I am running it on a server with multiple ip addresses
>on it.
>I want to know that to which IP address was the request
>was sent to the server deamon.
>How can i find it using the C socket programming in my server.
>Thanks .
>With Regards,
>Manish.
>-----------------------------------