3 ms·
Honestly, I think a better idea would be to write a program that can act as an intermediary, sending the stdin data through TCP, and writing out the data it rec
by gavinhoward 3y ago
Honestly, I think a better idea would be to write a program that can act as an intermediary, sending the stdin data through TCP, and writing out the data it receives back through stdout.
...can curl already do that?
- AdamH12113 3y agoI think what's you're looking for is netcat.
- gavinhoward 3y agoAh, yes, that would work.
- ksherlock 3y agoThat's one approach and Daniel Bernstein is aware of it. http://cr.yp.to/ucspi-tcp/tcpclient.html http://cr.yp.to/ucspi-tcp/tcpclient.html