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 MbedClient is not copyable. There is an attempt to make it survive one copy right after creation, which should work for returning a copy from server.available() but that is not good enough.
I have a simple fix for the copyability of Client. It just have to test it thoroughly yet. PR #768
The MbedServer doesn't manage connected clients as it should for proper implementation of available and print-to-all-clients. available() here works like Ethernet library's accept() and print-to-all-clients attempts to send a buffer with the listening socket which is not supported in Mbed/LwIP.
I can fix MbedServer too, but in which way? Implement available() and print-to-all-clients? It would break available() for users which already use it as it is? Just rename available() to accept() and add available() as a deprecated alias to accept()? And then even remove inheritance from Server/Print and the write methods, or just leave them with empty implementation?
The text was updated successfully, but these errors were encountered:
The MbedClient is not copyable. There is an attempt to make it survive one copy right after creation, which should work for returning a copy from server.available() but that is not good enough.
Issues:
#753
#715
I have a simple fix for the copyability of Client. It just have to test it thoroughly yet. PR #768
The MbedServer doesn't manage connected clients as it should for proper implementation of available and print-to-all-clients.
available()
here works like Ethernet library'saccept()
and print-to-all-clients attempts to send a buffer with the listening socket which is not supported in Mbed/LwIP.I can fix MbedServer too, but in which way? Implement
available()
and print-to-all-clients? It would breakavailable()
for users which already use it as it is? Just renameavailable()
toaccept()
and addavailable()
as a deprecated alias toaccept()
? And then even remove inheritance from Server/Print and the write methods, or just leave them with empty implementation?The text was updated successfully, but these errors were encountered: