Home » Developing U++ » UppHub » Urr
Re: Urr [message #30563 is a reply to message #24139] |
Sat, 08 January 2011 20:15  |
 |
mirek
Messages: 14256 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.
|
|
|
 |
|
Urr
By: mirek on Fri, 20 November 2009 14:09
|
 |
|
Re: Urr
|
 |
|
Re: Urr
|
 |
|
Re: Urr
By: mirek on Wed, 09 December 2009 09:29
|
 |
|
Re: Urr
By: tojocky on Sun, 27 December 2009 21:40
|
 |
|
Re: Urr
By: Didier on Mon, 28 December 2009 12:53
|
 |
|
client adress in server available?
By: kohait00 on Tue, 02 November 2010 20:57
|
 |
|
BUG: MinGW compile needs 'ws2_32' linking in Urr
By: kohait00 on Thu, 04 November 2010 11:56
|
 |
|
Re: client adress in server available?
By: kohait00 on Mon, 22 November 2010 11:05
|
 |
|
Re: client adress in server available?
By: mirek on Sat, 08 January 2011 20:18
|
 |
|
Re: client adress in server available?
By: kohait00 on Tue, 26 April 2011 13:58
|
 |
|
Re: Urr
By: mirek on Sat, 08 January 2011 20:15
|
Goto Forum:
Current Time: Wed Apr 30 06:26:27 CEST 2025
Total time taken to generate the page: 0.00692 seconds
|