-
Notifications
You must be signed in to change notification settings - Fork 249
wscat breaks when IP of server changes #146
Copy link
Copy link
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels