in reply to Re^2: Figuring out which network interface a broadcast packet came in on?
in thread Figuring out which network interface a broadcast packet came in on?
As far as I know, a socket at the application layer can give you only information on ip address/port number and not about interface on which it arrived. You might have to dig into writing your own code at the kernel layer, or use one of the utilities like ip to get the information you want.
Just my 2 cents..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Figuring out which network interface a broadcast packet came in on?
by lyeoh (Acolyte) on Sep 03, 2005 at 04:09 UTC |