Hallo Michael,

> YPort drops incoming packets (Host -> EtherSex) when they are sent too fast.
[...]

Bist Du sicher, dass Ethersex TCP-Pakete verwirft? Wenn es keine weiteren
Daten empfangen kann, sollte das TCP-Receive-Windows auf Null gehen.

> it will print exactly once 12345 and then it stalls: The reason is quite
> simple, it runs the loop once and then the next send will NOT deliver
> the packet. It will say so, and Wireshark also sees the packet, but
> EtherSex somehow drops it.

Konfiguriere mal den Debug für das YPort-Modul und lass Dir die Statistik
ausgeben. Wahrscheinlich gehen auf der USART die Zeichen verloren wegen
Pufferüberlauf.

> If you comment in the "sleep", everything works fine. I found EtherSex
> needs at least 20-30msec between ethernet packets, otherwise it just
> drops them (huh? it's TCP!).

Völlig korrekt. Ethersex´ Zeitscheibe ist 20ms. Du könntest mal den Branch
new_timer_framework testen. Der zeigt ein deutlich besseres Zeitverhalten.

Du bist herzlich in unseren IRC-Kanal eingeladen! Adresse im WIKI.


_______________________________________________
Ethersex-devel mailing list
Ethersex-devel@list.zerties.org
http://list.zerties.org/cgi-bin/mailman/listinfo/ethersex-devel

Antwort per Email an