Markus

Results 259 comments of Markus

> the axTLS can only handle one active TLS / SSL connection. https://github.com/Links2004/arduinoWebSockets/issues/756#issuecomment-1163121901

some example code that I had used in the past for testing. ```js const io = require('socket.io')(8888); io.on('connection', (socket) => { console.info('[' + socket.id + '] new connection', socket.request.connection.remoteAddress); var...

basically the same the socketio variant has `beginSslWithCA` too. see: https://github.com/Links2004/arduinoWebSockets/blob/master/src/SocketIOclient.h#L56-L59

how old is your arduino core / the WebSocket lib? are you still using AXTLS? the CA function are only possible with bareSSL and a a lib version >= 2.3.0

what version of the esp8266 arduino core are you using? the latest version parses all build tests: [![Build Status](https://github.com/Links2004/arduinoWebSockets/workflows/CI/badge.svg?branch=master)](https://github.com/Links2004/arduinoWebSockets/actions?query=workflow%3ACI+branch%3Amaster)

the Socket.IO protocol is not designed to handel binary data, since all data is encoded in JSON. with this lib you can use plain websockets which supports binary data. in...

are you talking about a websocket server on the ESP and want to broadcast to all clients? if yes look at: https://github.com/Links2004/arduinoWebSockets/blob/410489f7c5234690e5874e6731ed34cfe1305e9d/src/WebSocketsServer.h#L71-L72 if we talking about a websocket client on...

ok the buffer needs the size of JSON lengh + fb->len, since the JSON is dynamic too there is no fixed position to memcpy your data too. you need to...

hard to say its possible the format is not correct yet. may send some binary data via the nodejs client / server and compare how the data that is send...

you are looking at the polling mode here, this is no websocket ;) you need `transport=websocket` in the URL