Skip to content
/ udpc Public

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

License

Notifications You must be signed in to change notification settings

jsdario/udpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages