tkntkn / netpipe Goto Github PK
View Code? Open in Web Editor NEWUDP and WebSocket integration into Unix pipe
UDP and WebSocket integration into Unix pipe
When trying to send data to devices through WebSocket, it gives me this log message:
Server:
inamilab@MSI MINGW64 /c/Nitta/BPMS588/nitta-floor-broker/FsxUser/Debug
$ ./FsxUser.exe | netpipe stdin stdout ws://0.0.0.0:11111/
[src\broker.rs:137] e = Io(
Os {
code: 10035,
kind: WouldBlock,
message: "ブロック不可のソケット操作をすぐに完了できませんでした。",
},
)
thread 'main' panicked at '[002] encountered unknown error', src\broker.rs:138:25
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 10004, kind: Uncategorized, message: "ブロック操作は WSACancelBlockingCall の呼び出しに割り込まれました。" }', src\broker.rs:70:37
Client:
kashun@kashun-Latitude-3400:~$ netpipe ws://192.168.100.110:11111/ stdout
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })', src/receiver.rs:31:49
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.