UDPspeeder icon indicating copy to clipboard operation
UDPspeeder copied to clipboard

use stdin as FIFO for windows

Open ghost opened this issue 5 years ago • 2 comments

UDPspeeder FIFO doesn't work on windows at the moment, as named pipe on windows is complicated to create.

It would be great if stdin can be used as an option in --fifo, as stdin is cross-platform and easy to use from other programs.

ghost avatar Sep 15 '20 04:09 ghost

I think stdin might not be so easy to use from other programs. If UDPspeeder was started independently, how to let another program(which was started later than UDPspeeder) send data to UDPspeeder's stdin and get result back from stdout? I don't know. If there is some way plz let me konw.

What I have considered was to use a local socket.

wangyu- avatar Sep 15 '20 09:09 wangyu-

That's true. Stdin can not be rebinded easily. Domain socket is not available on Windows. Maybe a simple UDP or TCP socket can do the job.

ghost avatar Sep 16 '20 05:09 ghost