WARDuino
WARDuino copied to clipboard
WebSocket starts a socketserver instead of a socketclient
When you start the emulator with option --proxy portnumber
. The VM creates an object of type WebSocket
which is meant to be used as the client side socket that connects to a remote socket server running on the MCU. The socket connection is supposed to be used for proxy call and the pushing of events.
However, when opening the created WebSocket object via WebSocket::open
, the object starts a socket server instead of establishing a connection to the remote server as one would expect.
Fixed with c916d5e75dd254c29547e9a556f80dd34fd18d43 and da9013122e197d1d76f0958cff3d274acc372cc5. Should release with the next version.
Version 0.5.0 just released with this fix.