mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: d13f00l@gmail.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: Strange UDP Issue on 2.6.20.8 - broadcasts not being received if socket bound to local ip
Date: Wed, 02 May 2007 03:30:25 -0700 (PDT)	[thread overview]
Message-ID: <20070502.033025.15241258.davem@davemloft.net> (raw)
In-Reply-To: <47ed01bd0705020255x3a05cabbo955b4e980771b92@mail.gmail.com>


SO_BROADCAST controls sending, not receiving.

This definition comes from the BSD sockets API, even
Stevens TCP/IP Illustrated Volume 2, page 437, figure
15.4 clearly states that SO_BROADCAST means "socket
can send broadcast messages".  It says nothing about
receiving and the BSD implementation matches that
description, as does Linux.

This has been brought up before, search for the
subject "UDP Broadcasts not delivered to IP address"
in the linux-net list archives for one such thread.

      parent reply	other threads:[~2007-05-02 10:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-02  9:55 Dylan Taft
2007-05-02 10:14 ` Eric Dumazet
2007-05-02 10:30 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070502.033025.15241258.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=d13f00l@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®