Skip to main content
 _
| |__   ___ _ __ ___   ___   _ __  _   _
| '_ \ / __| '_ ` _ \ / __| | '_ \| | | |
| |_) | (__| | | | | | (__ _| |_) | |_| |
|_.__/ \___|_| |_| |_|\___(_) .__/ \__, |
                            |_|    |___/

bcmc is a CLI-centric IP broadcast and multicast tool built with Python. it is a testing tool for generating and validating broadcast or multicast traffic.

bcmc can be run as a server to generate broadcast or multicast traffic or bcmc can be run as a client to receive broadcast or multicast traffic. it is a CLI-based client/server tool inspired by iperf.

bcmc is developed by Josh Schmelzle and Kevin L. Marshall and is released under a three-clause BSD license.

requirements

bcmc requires Python 3.13 or newer. Python 2 support is dropped.

why bcmc?

Existing tools such as Multicast Hammer are platform specific and may have unsupported system dependencies on modern OSes. bcmc aims to be a free cross-platform tool that can be used from *unix or Windows. While bcmc aims to function cross-platform, please note some optional features may not work on certain OSes.

usage

bcmc is a client/server tool which functions similar to iperf. bcmc can be used to test and validate broadcast or multicast on 802.11 or 802.3 networks.

steps:

  • You will need two hosts
  • Place both hosts on the target test network
  • Use one host to run bcmc in client mode (receive)
  • Use the other host to run bcmc in server mode (transmit)

broadcast traffic

In broadcast mode, the default behavior for bcmc is to send IP layer UDP packets to 255.255.255.255.

multicast traffic

In multicast mode, the default behavior for bcmc is to send IP layer UDP packets to 239.0.0.2 as the multicast group address.

modes (-s|-c)

bcmc can be run as client or server.

traffic (-bc|-mc)

bcmc can generate broadcast or multicast IP packets.

broadcast (-bc)

client usage:

bcmc -c -bc

server usage:

bcmc -s -bc

multicast (-mc)

client usage:

bcmc -c -mc

server usage:

bcmc -s -mc

discovery tip

  • to understand or "try out" the behavior of bcmc, you can also use bcmc with two different terminals on the same host.
  • in one terminal, run bcmc in client mode
  • in the other, run bcmc in server mode
  • you should see incrementing messages from bcmc running in server mode in the terminal running bcmc as client mode.

troubleshooting

On Windows, bcmc server (-s) mode will default to the interface with the lowest metric. If you are having issues where client (-c) mode is not receiving messages from server (-s) mode, investigate the metric by running route PRINT from conhost (cmd.exe) or PowerShell.

optional arguments

usage: bcmc [-s|-c] [-bc|-mc] [options]
       bcmc [-h|--help] [-v|--version]

options:
  -h, --help            show this help message and exit
  -p 2002, --port 2002  port to listen on/connect to
  -b <host>, --bind <host>
                        bind to the interface associated with provided <host> address (experimental)
  --debug               increase output for debugging purposes
  -c, --client          run in client mode
  -s, --server          run in client mode
  -bc, --broadcast      set traffic type to broadcast
  -mc, --multicast      set traffic type to multicast
  --group 239.0.0.2     multicast group address (239.0.0.2 by default)
  -i 1, --interval 1    interval to send multicast packets
  --ttl 3               set the hop restriction in network for multicast server
  --dscp 46             set the Differentiated Service Code Point value applied to packets sent in server mode
  --padding 0           number of additional null bytes per payload which is sent in server mode
  --payload 'string'    add an arbitrary payload which is sent in server mode

Metadata

Release files for bcmc 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bcmc 0.2.0
File Size Uploaded Provenance Actions
bcmc-0.2.0.tar.gz 17.6 kB With provenance Details for bcmc-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bcmc 0.2.0
File Interpreter ABI Platform Actions
bcmc-0.2.0-py3-none-any.whl Python 3 none any Details for bcmc-0.2.0-py3-none-any.whl

Total release size: 33.5 kB

Release files / bcmc-0.2.0.tar.gz

Download URL bcmc-0.2.0.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9f0e313a41a284c9bf063e9e888346e5f0504d8d454d777c7612af437ef35a38
BLAKE2b-256 checksum
How to use checksums
70876a8e25033c873766f86dab36fbcd94d5ef47475604e0d2c7b79609e045a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / bcmc-0.2.0-py3-none-any.whl

Download URL bcmc-0.2.0-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87fdfc8737e1d909e02abbcfeba1e4f57f2a35bf0bc8f284da426817709ed217
BLAKE2b-256 checksum
How to use checksums
919e9b9393ca3d976e784c7d7f920f4321ca2e56828f90425cb9a2ff71b519fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for bcmc 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bcmc-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page