Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Urr
Re: Urr [message #30563 is a reply to message #24139] Sat, 08 January 2011 20:15 Go to previous message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
Didier wrote on Mon, 28 December 2009 06:53

Hi Tojoky,

UDP can be used safely between two computers in a LAN. If you plan to use it over internet a problem comes immediately to you:
UDP is allowed to lose packets (without you being noticed !)

There are two solutions:
1 - you can afford to lose some packets
2 - you have a dedicated control mechanism (as in TCP)

A second problem comes: it is not guaranteed that you will receive all the packets in original order ! ( although most of them will be in the wright order )



However, those are things that Urr solves...

Well, for very large amounts of data, TCP will be better. But if your usage scenario is about making a lot of quick requests and getting response that usually (not always!) is less than say 32KB, Urr shall be better - it takes quite long for TCP to establish connection, while for Urr request/response are just 2 packets.

If your response data too often >32KB, Urr still would work fine, but at some point TCP/IP would start to be better.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: "Alternative Multithreading" revisited
Next Topic: Outlook automation with MAPIEx
Goto Forum:
  


Current Time: Wed Jun 05 15:04:47 CEST 2024

Total time taken to generate the page: 0.01499 seconds