Joel Zavala

Results 15 comments of Joel Zavala

I understand my friend, another question, how can I broadcast data with an event with your library, for example, webSocket.emit("esp32test", "test"); // Event, Data I've been reading this [documentation](https://github.com/socketio/socket.io-protocol#5---binary_event) and...

Great, now, what I have is a buffer of an image obtained (I'm working with an esp32-cam) and the image returns it to me in fb->buf and the size in...

In the code part ` memcpy(jsonoutput.c_str(), &buffer[0], jsonoutput.length());` the compilier says me argument of type "const char *" is incompatible with parameter of type "void *" I replaced it by...

I was researching and I was misplacing the parameters in the memcyp function, the specification says that the first parameter is the destination, the second is the source and the...

in the client i execute this ```js const test = new Uint8Array(5) test[0] = 44 test[1] = 45 test[2] = 46 test[3] = 47 test[4] = 48 socket.emit("message", test) ```...

I´m tried to send the data but the browser doesn´t send, this is what i send ![imagen](https://user-images.githubusercontent.com/54426658/104772624-51ad5b00-5739-11eb-86c1-5e438ed5547a.png) ![imagen](https://user-images.githubusercontent.com/54426658/104772869-c1bbe100-5739-11eb-9d58-848614895642.png)

according to the socket.io documentation it say that send 51-["hello",{"_placeholder":true,"num":0}] + base 64 encoded binarybuffer

If you enable debug option in arduino, you will see that when it recive a binary event ( when server send a binary data ) it receives it as I...

Is that socket.io is not intended for binary data transmission and the addition of this functionality is a plus.

I have been investigating more and it seems that it does two websocket sends, one where it says the structure and another where it sends the pure binary data. In...