Hey Paul, I've not tried this myself, but wouldn't you specify which address to listen to (and therefore which interface) when you call bind. If you specify, that address, it should only listen on the interface associated with that address, right? If you wanted to listen on multiple interfaces, you could create a new server for each address to call bind on. Maybe I'm completely off base, there. Hope it helps.
-John Shaver On Tue, Sep 20, 2016 at 8:48 AM, Paul J R <[email protected]> wrote: > Hi All, > > For the last couple of days i've been attempting to implement a DHCP server > and have run up against a few limitations that I think spell the end of idea > (in pure JS at least). > > Handing udp broadcast itself is fairly straightforward, but when its coming > in from multiple interfaces there seems to be no way to know which interface > a message arrived on - which makes processing dhcp more or less impossible. > I was just wondering though if anyone has tried to do something like this > with any success? > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/4236f8d0-00ba-4d00-b7a7-aa7013353a2c%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAMbK04x41AUxJtuaj26RT5ijgVQ28HvowW4mO_xd499ufpaskA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
