arduino-libraries / Ethernet

Ethernet Library for Arduino
http://arduino.cc/
257 stars 262 forks source link

api.md - fix documenation of client.connect #240

Closed JAndrassy closed 5 months ago

JAndrassy commented 10 months ago

fixing client.connect doc

no Arduino Ethernet library (classic, Mbed, C33) returns other values than 0 or 1 from client.connect because all examples have

  if (client.connect(server, port)) {

the docs of WiFi libraries have it right