[En-Nut-Discussion] UDP queue

Hermann Schulz hs at ehse.de
Thu Mar 24 11:02:58 CET 2005


 
Ethernut 2 with Atmega 128 and the Software 3.9.1. Imagecraft Compiler
 
 
Hello people,
 
have a look at this sample. To transfer 36 buffers by UDP needed
the program almost 7 seconds. 
 
for(i=1;i<37;i++)
{
  sprintf(buf4,"%d Test0123456789", i);
  len4 = strlen(buf4);
  if(NutUdpSendTo(udp4_sock, udp4_address,udp4_port,buf4,len4))
    fputs(" Fehler UDP4 Send\n\r", stSio1);
}
The PC starts a timer when see ASCII '1 ' and stopped by ASCII '36'  the
time is 6965 ms.
How is it possible to send UDP packages faster then 200ms per packages?
I test with Labview Software and 'dot Net'.
 
 
By the way.
Has no-one removed his network wire for the test yet?
The    "stream->so_state == 4 "(Established)  is no changed?.
 
 
regards und many eggs 
Hermann Schulz
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20050324/3ea53c96/attachment.html>


More information about the En-Nut-Discussion mailing list