Re: [dev] [sdhcp] Part 1/3 Bugs

From: Michael Forney <mforney_AT_mforney.org>
Date: Wed, 14 Nov 2018 17:13:15 -0800

On 2018-11-12, Sean MacLennan <seanm_AT_seanm.ca> wrote:
> I am surprised you are getting away with binding the socket to the
> broadcast address.

I found in ip(7):

    INADDR_BROADCAST (255.255.255.255) means any host and has the same
effect on bind as INADDR_ANY for historical reasons.

So that explains why it worked.

BTW, is there going to be a part 3/3?
Received on Thu Nov 15 2018 - 02:13:15 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 15 2018 - 02:24:08 CET