ntruchsess / arduino_uip

UIPEthernet: A plugin-replacement of the stock Arduino Ethernet library for ENC28J60 shields and breakout boards. Full support for persistent (streaming) TCP-connections and UDP (Client and Server each), ARP, ICMP, DHCP and DNS. Build around Adam Dunkels uIP Stack. Further developed version can be found on https://github.com/UIPEthernet/UIPEthernet
489 stars 211 forks source link

Not able to receive more than 1500 bytes #162

Open dimitre opened 8 years ago

dimitre commented 8 years ago

I was investigating an issue while receiving large blobs from OSC and it seems to be a limit defined in UIPUdp.h UIP_UDP_MAXDATALEN but even editing this value the packet seems to stop looping in about less than 1500 bytes. Thank you

OKNoah commented 7 years ago

I may be having the same issue, but it's closer to around 300 bytes.

dimitre commented 7 years ago

@OKNoah I'm not sure because I dont know much about networking, but I've found a hard limit in my router of 1500 bytes per packet.

csBlueChip commented 7 years ago

1500 is the "defacto norm" for a network MTU ...So I strongly suspect the 1500 byte limit will be the maximum size your network can handle ...And I suggest you leave it alone unless you know what you're doing, and what horrific things might happen if you change it.