Unix Programming - Information Extracted from socket

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > September 2005 > Information Extracted from socket





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Information Extracted from socket
eyal.rif@gmail.com

2005-09-28, 6:02 pm

Hi,

is there any way to extract information such as source ip,dest ip and
ports for an existing network file descriptor?

Fletcher Glenn

2005-09-28, 6:02 pm

eyal.rif@gmail.com wrote:
> Hi,
>
> is there any way to extract information such as source ip,dest ip and
> ports for an existing network file descriptor?
>


See getsockname and getpeername.

--

Fletcher Glenn

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com