-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wscat breaks when IP of server changes #146
Comments
Make the server close the connection cleanly (call |
I'm afraid not. I can't do any changes on the server side, sorry
If it is a server side problem is there a solution anyway?
…-----Ursprüngliche Nachricht-----
Von: Luigi ***@***.***>
Gesendet: Mittwoch 1 März 2023 21:36
An: websockets/wscat ***@***.***>
CC: Michael65589 ***@***.***>; Author ***@***.***>
Betreff: Re: [websockets/wscat] wscat breaks when IP of server changes (Issue #146)
Make the server close the connection cleanly (websocket.close()) before changing the IP.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
You can try to use the |
Hi,
I use WSCAT to communicate with a server in a Windows batch file. It works well but when I send a command to change the servers IP address WSCAT breaks and also my batch file.
Example:
wscat --connect ws://192.168.2.120:1234 -w 1 -x {"type":"write","name":"network","value":{"ip":"192.168.2.150","netmask":"255.255.255.0","gateway":"192.168.0.1"}}
The server receives the message, set and activate the new IP address but WSCAT does not get the answer because it expects the answer on the IP address 192.168.2.120.
Is there a way to do not wait for an answer?
Thanks
Michael
The text was updated successfully, but these errors were encountered: