roccomuso / netcat

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

Client and Byte Sending #18

Closed gelinger777 closed 2 years ago

gelinger777 commented 2 years ago

Sorry if the question is too simple. But could you maybe hint out how can I send a Bytes using your library?

roccomuso commented 2 years ago

You can use the send method with a Buffer.from('61', 'hex') (that is the letter "a"). https://github.com/roccomuso/netcat#senddata--cbhost