datagram-stream
A streaming UDP module with broadcast, multicast and unicast options.
install
npm install datagram-stream
usage
multicast
var udp = ; var stream = ; //pipe whatever is received to stdoutstream; //pipe whatever is received on stdin over udpprocessstdin;
broadcast
var udp = ; var stream = ; //pipe whatever is received to stdoutstream; //pipe whatever is received on stdin over udpprocessstdin;
unicast
var udp = ; var stream = ; //pipe whatever is received to stdoutstream; //pipe whatever is received on stdin over udpprocessstdin;
acknowledgments
I used @dominictarr's broadcast-stream as a guide for how to implement the stream.
license
MIT