arduino-libraries / Ethernet

Ethernet Library for Arduino
http://arduino.cc/
252 stars 253 forks source link

feature: decrease MAX_SOCK_NUM to increase buffer size #258

Open Julius971 opened 2 months ago

Julius971 commented 2 months ago

I am working on a project where i don't rely on multiple accepted sockets. But i need the buffer to be bigger, to reduce some overhead i had to implement. Would it be possible to implement a define that overrides the set MAX_SOCK_NUM if it is less or equal than the calculated max sock num?