WARDuino icon indicating copy to clipboard operation
WARDuino copied to clipboard

WebSocket starts a socketserver instead of a socketclient

Open carllocos opened this issue 1 year ago • 1 comments

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.

carllocos avatar Apr 14 '23 16:04 carllocos

Fixed with c916d5e75dd254c29547e9a556f80dd34fd18d43 and da9013122e197d1d76f0958cff3d274acc372cc5. Should release with the next version.

tolauwae avatar Mar 29 '24 14:03 tolauwae

Version 0.5.0 just released with this fix.

tolauwae avatar May 30 '24 11:05 tolauwae