retrieving network interface information

2004-07-12 Thread Gershon Geva
Title: retrieving network interface information     Hi.     I have a server (kernel 2.4.20) with a network card and a cellular modem. On that server I run an application     That waits for incoming connections on a known port. It is important to me to know to which Network

RE: retrieving network interface information

2004-07-12 Thread rami rosen
Hello Gershon , I assume these interfaces have a different IP addresses. netstat -a shows the IP addresses on which you have opened sockets ; so it seems to me you can deduce from this to which interface each socket belongs. Is it good enough for you ? Or must you do it a program , using ioctl(

Re: retrieving network interface information

2004-07-12 Thread Gilad Ben-Yossef
On Monday 12 July 2004 13:08, Gershon Geva wrote: > I have a server (kernel 2.4.20) with a network card and a > cellular modem. On that server I run an application > That waits for incoming connections on a known port. It is > important to me to know to which > Network Interface (in t

Re: retrieving network interface information

2004-07-12 Thread Voguemaster
On Mon, 12 Jul 2004 12:08:48 +0200, Gershon Geva <[EMAIL PROTECTED]> wrote: Hi. I have a server (kernel 2.4.20) with a network card and a cellular modem. On that server I run an application That waits for incoming connections on a known port. It is important to me to know to which Network Int