3 ms·
Only tangentially related, but practically how does one only send a single bit of data to a server? If you have a tcp or udp connection then each send is actual
by sour-taste 5y ago
Only tangentially related, but practically how does one only send a single bit of data to a server? If you have a tcp or udp connection then each send is actually a much larger packet. Common rpc frameworks like protobuf also encode a single bit message to a larger structure. I'm sure there's a way, I just can't come up with it.
- kupopuffs 5y agoRead a byte, only examine the first bit. Ignore the rest
- lcampbell 5y agoAnything over a network is going to have layer 2 framing overhead. Something like a serial port would do the trick.
- sesuximo 5y agoSome cpus have general purpose IO pins. You could connect wires to those and send whatever signal you want.
- gpderetta 5y agoSerial ports.