[En-Nut-Discussion] about tcp stack 2.4 an later
gfaxman
vm12 at 21cn.com
Sun Oct 20 17:12:17 CEST 2002
> I can't see the problem you mentioned in example
> 1, because NutEventWait(&tcp_in_rdy, 200) times
> out every 200 ms. Or do you mean the LAN connection
> may send so many packets, that the NutEventWait
> would never timeout?
Yes, NutEventWait would not timeout. When transmit about 250Kbyte/s,
it would receive about 33 packets (1.5Kbyte per packet) in 200ms. In other
word it if one of the sockets's transmiting speed is faster than 7.5KByte/s,
NutEventWait would not timeout !
> Regarding your second example: ARP timeouts won't
> hurt because of the decoupling mentioned above.
> Receiving and transmitting is completely asynchronous.
> The TCP packet without ARP entry is buffered,
> an ARP request is sent out and the transmit returns,
> ready to handle new incoming packets. When later
> on the ARP response is received, the buffered
> TCP packet will be sent.
Maybe I have not understand you
More information about the En-Nut-Discussion
mailing list