Ethernet
Ethernet copied to clipboard
Ethernet Library for Arduino
Moved from https://github.com/arduino/Arduino/issues/6414 by @corymayer > Line 141 in Dns.cpp has a hardcoded 5 second timeout for DNS lookups. It causes a hang intermittently in my code. Can this be...
We should probably add a reference count for each socket, to know how many client, server & udp objects are currently referencing it. http://forum.arduino.cc/index.php?topic=567368.msg3865329#msg3865329 With this info, when socketBegin() doesn't...
It seems that the number of sockets is determined in ethernet.h based on RAMSTART and RAMEND. But these facts are both defined for the mega chip instead of the W5100....
The [following \#ifdef](https://github.com/arduino-libraries/Ethernet/blob/ac843291454f522cdef6bddbacce2c52028be943/src/Ethernet.h#L36): ``` #if defined(RAMEND) && defined(RAMSTART) && ((RAMEND - RAMSTART)
Hi i have written a little webserver code which delivers files of any size from the SD card to the web browser (client). However sometimes, the code just "freezes" and...
## Description I have a protocol that uses UDP broadcast to let devices communicate. This works fine except for that from time to time a random device will lock up...
Ping
Has anyone got ICMP ping working? The older examples look to have issues.
In order to prevent frozen sockets to lockup network connections, this code here used to work until version 1.1.2 (taken from http://forum.arduino.cc/index.php?topic=291958.msg2040300#msg2040300): ```cpp #include #include byte socketStat[MAX_SOCK_NUM]; unsigned long connectTime[MAX_SOCK_NUM];...
The W5500 data sheet (https://wizwiki.net/wiki/lib/exe/fetch.php?media=products:w5500:w5500_ds_v106e_141230.pdf) shows certain W5500 registers to be at different addresses than those used by the driver (W5100.h). Current W5100.h values: __GP_REGISTER16(RTR, 0x0017); // Timeout address __GP_REGISTER8...
UDP_TX_PACKET_MAX_SIZE in Ethernet.h is some forgotten define. The only current use is in the UDPSendReceiveString example for the size of the **receive** buffer. 24 is really not enough there. It...