Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 1997 09:06:56 -0700
From:      Julian Elischer <julian@whistle.com>
To:        hackers@freebsd.org
Subject:   bind() and broadcast packets...
Message-ID:  <34463BA0.15FB7483@whistle.com>

next in thread | raw e-mail | index | archive | help
Should a socket that is bound to a particular interface address
still receive broadcast packets?

Should it just receive broadcast packets with a network part
equal to the network on that interface?

should it not receive those packets at all?

arguments:
CON:
If you allow reception of broadcasts, there is no way to block them
if you don't you can always receive them on another socket.
PRO:
If you are trying to simulate running on a machine with only 1
interface, when you have several, then you need to bind your socket
to the interface you want, and you want it to get the broadcasts
just like it would if you were running in th non bound case.
(e.g. SAMBA on one interface).

who is authoratative on this?
Mike Karels?
stevens?


I can't find it in the docs..

julian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34463BA0.15FB7483>