Skip to content

purpose of the example: unicast or broadcast ? #3

Description

@wfjm

Nice example, but when it comes to broadcast, it leaves many questions:

  • the original gist used broadcast and had a matching title. This example uses unicast. Is that by intention ?
  • if unicast is intended here:
    • the forwarding remark in the gist is misleading.
    • why is socket.SO_BROADCAST still enabled at all ? Examples should be concise.
  • if broadcast were the (lost) purpose:
    • why is socket.SO_BROADCAST on both sender and receiver side ?
    • a remark might be added on firewalls. If a firewall is active, the port must be opened. Common trap.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions