You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The official Arduino documentation says the write method will return the number of bytes actually written, as is expected for most socket programming. This library does not do that, and I'm thus unable to properly stream voluminous data. Is there another function I can call subsequent to write to determine the number of bytes just written?
The text was updated successfully, but these errors were encountered:
I didn’t realize I’m not receiving notifications for issues.
I don’t remember specifically testing this for myself, but from my understanding it should be returning the number of bytes written. The fnet_socket_send function return the number of bytes written or -1 if there was an error, so to keep inline with the original Ethernet.socketSend function it returns 0 if there was an error or the number of bytes written. I don’t believe I changed anything in the client.write function so barring anything wrong with socketSend that should work the same.
The official Arduino documentation says the
write
method will return the number of bytes actually written, as is expected for most socket programming. This library does not do that, and I'm thus unable to properly stream voluminous data. Is there another function I can call subsequent towrite
to determine the number of bytes just written?The text was updated successfully, but these errors were encountered: