LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   rtrive netmask (https://www.linuxquestions.org/questions/programming-9/rtrive-netmask-294799/)

vasdia 02-25-2005 12:24 PM

rtrive netmask
 
Hello i would like to know if it is possible to retrieve the netmask and the mac address from a socket .For example with the system call getpeername() i can retrieve the ip address .
Also there is a function that by giving an ip address it returns it 's netmask can you tell me which is that function ? Thanks .


All times are GMT -5. The time now is 09:56 PM.