Re: binding socket to wilcard and ip address

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

 





It doesn't actually identify the interface on which it was received. It
identifies the interface to which it
was addressed. The packet could be routed through any of the interfaces to
get there.

                                          +-DLS

In article <3CFFBC95.C622FD1D@iprg.nokia.com> you wrote:
> was wondering if there is any reason why an application that
> binds to the INADDR_ANY v4 address, should also bind to all the
> addresses in its interface list.

Cause this way it can detect by the socket, on which interface a packet was
received.

Greetings
Bernd
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux