udp-test
A simple udp server and client for network testing.
Install
pip install udp-test
Usage
E:\code\udp-test>udp-test --help Usage: udp-test [OPTIONS] COMMAND [ARGS]... Options: --help Show this message and exit. Commands: client server E:\code\udp-test>udp-test server --help Usage: udp-test server [OPTIONS] Options: -p, --port INTEGER --help Show this message and exit. E:\code\udp-test>udp-test client --help Usage: udp-test client [OPTIONS] Options: -h, --host TEXT -p, --port INTEGER -l, --local-port INTEGER --help Show this message and exit.
Example
E:\code\udp-test>udp-test server Get a message from 127.0.0.1 : 55032 ==> hello
Simple command ‘udp-test server’ will start a udp server which listening port 5005 on all interfaces. The simple udp server will print the received message and send it back to the sender.
E:\code\udp-test>udp-test client
Simple command ‘udp-test client’ will start a udp client that connect to the default server 127.0.0.1:5005. It will send every line message to the server and print the received message.
E:\code\udp-test>udp-test server -p 1234
This command wills start a server listen port 1234 on all interfaces.
E:\code\udp-test>udp-test client -h 123.123.123.123 -p 1234
This command will start a client that will send message to server 123.123.123.123:1234 via a random local port.
E:\code\udp-test>udp-test client -h 123.123.123.123 -p 1234 -l 5678
This command will start a client that will send message to server 123.123.123.123:1234 via the given local port 5678.
Metadata
Release files for udp-test 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| udp-test-0.1.1.tar.gz | 2.7 kB | Without provenance | Details for udp-test-0.1.1.tar.gz |
Release files / udp-test-0.1.1.tar.gz
| Download URL | udp-test-0.1.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9fc46f2cad071a35e52f653673d256f858373d22519ac88f1e4c9d9378aa89e3
|
|
BLAKE2b-256 checksum How to use checksums |
94b7f66cc070c68268264787d58e99f215b757474152f4ea03935e7c2f727bf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Security for udp-test 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.