chunked-udp
Client and server utilities for chunked UDP messaging, inspired by GELF+UDP
example client
const udp_json_client = ; const client = client
Or you can pass port
and address
down explicitly:
const client =
example server
const createSocket = ;const server = const udp_json_parser = ;const inflightMessages = // or, perhaps, require('hashbelt').createCachingHashbelt().autoRotate()const msg_parse_context = ; { if err console; else console;}