PaulStoffregen / Ethernet

Ethernet library for Teensy (Wiznet W5100 / W5200 / W5500)
http://www.pjrc.com/teensy/td_libs_Ethernet.html
130 stars 83 forks source link

MAX_SOCK_NUM for W5500 #11

Closed sstaub closed 7 years ago

sstaub commented 7 years ago

The W5500 chip has max. 8 sockets. But it is defined in ethernet.h and w5100.h only with max. 4 Sockets.

PaulStoffregen commented 7 years ago

This is by design. Very likely going to change the W5500 default to 4K buffers, since it makes a substantial improvement on connections with typical non-LAN network latency. The extra sockets also consume extra RAM due to the state caching, which is a big deal on memory-limited AVR.