roccomuso / netcat

:computer: Netcat client and server modules written in pure Javascript for Node.js.
MIT License
419 stars 43 forks source link

Can not run on a browser app #17

Closed ZederickVargas closed 2 years ago

ZederickVargas commented 2 years ago

I am trying to use this on a browser app, I used browserify to import the modules but I have this error Uncaught TypeError: dgram.createSocket is not a function at Client.module.exports

roccomuso commented 2 years ago

It will never work. It's not intended to work on a browser. There's no TCP sockets or udp. You'd need to setup something using websocket.