Re: Getting connection details from the socket descriptor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



man getpeername, gethostbyname, gethostbyaddr...

redards
christophe

Latha G (glathaa@hotmail.com) wrote:
> Hi,
> 
> I am new to socket programming. I need to get the information about the TCP 
> connection details (local ip addr, local port, remote ip addr, remote port) 
> from the socket descriptor. Is it possible to get the info from the socket 
> descriptor? Could anyone help me to find the solution for this problem.
> 
> Thanks in advance,
> Latha.G
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux