Comments (3)
Multiple incoming messages should be OK. By default each text message should turn into one line on stdout. Close
is sent when stdin is closed (unless -n
option is specified to websocat).
I can see the first response, but not the second
What do you see instead? Does it exits or just wait?
from websocat.
Nothing, it just waits. The connection drops anyway after ~5 secs, so if I try to send the request again I see:
^@websocat: WebSocketError: I/O failure
Edit: I am using binary mode.
from websocat.
Please show the command line.
Assuming it's Linux, please also prepare two logs like this:
RUST_LOG=debug websocat -b ws://your_server 2> log1.txt
strace -fe trace=network -o log2.txt websocat -b ws://your_server
from websocat.
Related Issues (20)
- doesn't work with localhost, but ok with 127.0.0.1 (guessing related to IPv6) HOT 2
- how to make it accessible publicly HOT 1
- how to terminate exec process? HOT 3
- Can websocat perform force resolve? HOT 2
- Does the latest version support reverse connections? HOT 1
- Feature Request: Wait until connection has first packet to open other connection HOT 3
- Feature Proposal: Add message framing to binary stream i/o HOT 8
- How do you get your own socket ID? HOT 2
- TCP socket listen does not work on Windows HOT 2
- Many zombie process HOT 2
- warnings with ping when disconnecting the socket
- Adding a timeout option for connection
- send a message and listen for incoming messages HOT 1
- "Advanced" mode does not proxy connections (upgrade failed) HOT 1
- Debugging output is useless HOT 1
- What do I do with the file? Say 'websocat.aarch64-unknown-linux-musl' I downloaded, now what? HOT 2
- Executable no longer statically linked HOT 3
- unable to run external commands in background or from crontab HOT 9
- what is the value of "--just-generate-accept" HOT 4
- `let res = stage1.custom_headers(&h);` got block HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from websocat.