-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server.available() doesn't work on Opta #250
Comments
yes. the networking libraries in mbed core implement |
What about updating the documentation with this information? The docs sent me on a wild bug chase in my code before I guessed that there was an error in the library. And, IMHO, if the documentation says "A" and on every other platform it is "A", having it as "B" on mbed is a bug. |
I guess you were looking at the Wiznet W5x00 Ethernet library documentation, because the Mbed Core Ethernet library is not documented |
Well, no. I am looking at the official documentation for the Ethernet library: https://www.arduino.cc/reference/en/libraries/ethernet/ That reads:
If a different, undocumented library exists and is used instead of the "official" one when i put |
Opta doesn't use this library here. |
The documentation for
server.available()
says:But in the following code the connection is closed immediately at the end of the scope:
The connection is supposed to persist across invocations of
loop()
but if one tries to connect (telnet 192.168.3.2
) it is disconncted immediately.The text was updated successfully, but these errors were encountered: