This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UDP speed

Im using the RL-TCPnet stack to implement UDP on my LPC2478. What speed can i expect from it?? Speed in bytes/sec...

As per my calculations, im getting quite low speed - about 70kbytes/sec. In the code, I am starting a Timer b4 sending the data over UDP (udp_send). Once it is received on the PC side, im sending back an ACK (in the form of a character, say '5'). Then im checking in the controller code if '5' has bn received. If yes, im stopping the Timer. Then im calculating the time using the number of ticks (obtained from the T0TC register) multiplied by duration of 1 tick.

Is this a correct method of calculating the speed? plz explain..