udp socket
A module like socket.io but implement with udp protocol
In statard,websocket shoule be implement with tcp/http,this module just a exercise,so please not use it in production environment
usage - a simple chat server
server
'use strict'const UdpSocket = Serverconst server = ; const readline = ;const rl = readline; let cclient = null;server server rl serversocket;
client
'use strict' const ClientSocket = Clientconst client = address: 'localhost' port: 43214 const readline = ;const rl = readline; client clientsocket rl
TO DO
ack
check server is alive
faster serialize