Re: UDP problem
"Venelin Efremov" <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <001001c3d737$c14259b0$2502a8c0@venefhome2> |
UDP could loose packets "by design" so there is no reason why sendto should return an error. If you need reliable connection use TCP or build some "packet loss" detection in the UDP protocol you are using. Why this is happening in your case I have no clue, but you should not relay on short cable or absence of collisions. ~Venelin ----- Original Message ----- From: "Igor Evdokimov" <[email protected]> To: <tini-6tN4nzCoH/[email protected]> Sent: Friday, January 09, 2004 4:47 AM Subject: [TINI]UDP problem > I work with DS80C400 C library, Keil C compiler and TINIm400 board. > TINI board is connected to a PC with the short crossover ethernet cable. > My current project uses UDP protocol for sending the sequence of packets, > having internal numeration. I noticed that TINI periodically > loses the currently sending packet, when there is any receiving activity. > Thus function syn_sendto() does not return a error. > I think, that under these conditions (direct short connection, 100 Mbit > full duplex link, absence of collisions) there should be no loses. > Why does it happen? How can we avoid it? > > Sincerelly, ie > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list archives: > http://lists.dalsemi.com/mailman/listinfo/tini _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini