JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q29629F
  • License MIT

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

Package Exports

  • udpc

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (udpc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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