lcnet
Network handler for Javascript and NodeJS Install
npm i --save lcnet
How to use
- With SocketIO
const LCSocketIO = SocketIO;const HOST_IP = "127.0.0.1";const PORT = 8000;let io = ;// start the connection and start listening to some eventsio;io;io;io
- With UDP
const UDP = ; const RECEIVE_PORT = 3000;const SEND_PORT = 3001; let broadcastIP = UDP; UDP; UDP;