You are reading a single comment by @dave_irvine and its replies. Click here to read the full conversation.
  • I'm probably missing something stupendously obvious, but I need to write raw hex values to a net socket.

    I've tried sckt.write([0xFF], 'hex'), but I receive ASCII encoded data at the far end.

    Also tried sckt.write('FF'), sckt.write('0xFF'), constructing a Uint8Array and sending that, but no matter what I do I just get ascii data.

About

Avatar for dave_irvine @dave_irvine started