udpc

0.1.2 • Public • Published

UDPC

A simple program to send and listen for UDP packages from command line

Install

npm i -g udpc

Send:

udpc --body "hello" --port 1450 --dest 0.0.0.0

 You sent a udp packet with:
 * dest=0.0.0.0
 * port=1450
 * body=hello

UDP simple server

udpc --port 1500 --listen      

 Socket listening 0.0.0.0:1500
 CTRL+C to exit

Subscribe to multicast addresses

udpc --listen --multicast 239.0.16.18 --port 16180

 Socket listening 0.0.0.0:1500
 CTRL+C to exit

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i udpc

    Weekly Downloads

    0

    Version

    0.1.2

    License

    MIT

    Last publish

    Collaborators

    • netbeast.staff