0.1.2 • Published 8 years ago

udpc v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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