Reliable UDP?

RCFProto support and general discussion.
Post Reply
bazz
Posts: 2
Joined: Tue Sep 09, 2014 12:08 am

Reliable UDP?

Post by bazz »

Hello,

Thank you for providing support.

First off, I have some confusion whether RCFProto actually supports the UDP transport.
It is not advertised here http://www.deltavsoft.com/RCFProto/distro/index.html
BUT, the doc alludes that UDP may be supported: http://www.deltavsoft.com/RCFProto/cpp/ ... point.html

So, assuming the UDP is supported, is reliable UDP supported "in the box"? By reliable UDP, I mean Adaptive retransmission timeouts with ACKs at the minimum, perhaps message sequencing on top of that, and multiplexing channels on a port would be "extra." ENet (http://enet.bespin.org/) provides all of the above, and I could consider throwing it atop RFC. But at that point, why not use Google Protocol buffers with ENet exclusively? <-- that's the main point of my dilemma

Let me provide a very brief history:
I have been searching for a nice multi-platform C++ library for networking applications. I want multi-language serialization solution (Google Protocol Buffers) and will be using both reliable UDP and raw UDP. I have already created a homebrew implementation of reliable UDP and serialization, but it's not what I want. Moving to protocol buffers at least begins support for non C++ languages. RFC came to my attention thru the Google Protocol Buffer 3rd party page. Then I thought, hm, I wonder if RCF can clean up my implementation and prevent me from having to mix several libraries together? But I'm not sure I can do that without the reliability over UDP. And I'm too tired to analyze RFC docs to find out. So in a way this is a chance to win me over by talking about some really cool features of RFC that might interest me because I am just too damn tired to look myself.

Thank you,
Bazz

bazz
Posts: 2
Joined: Tue Sep 09, 2014 12:08 am

Re: Reliable UDP?

Post by bazz »

(this is with RFC, and I'm still not sure if ProtoRFC supports UDP)

I found some hints: An old article here: http://blog.davber.com/2006/08/19/rcf-c ... er-tongue/

states that a TwoWay specifier can be used with UDP to make the server acknowledge the client. But, you notice the 1 comment below the post. The commentator acts like he knows that the client would wait indefinitely for a response packet, whereas an adaptive retransmission timeout that goes along with any typical RUDP implementation, which make sure that client resends the packet on adaptively increasing timeouts, and then either receive the response or determine the connection dead -- does RFC, and more importantly ProtoRFC, also support this desired behavior?

jarl
Posts: 238
Joined: Mon Oct 03, 2011 4:53 am
Contact:

Re: Reliable UDP?

Post by jarl »

Hi,

UDP is currently not supported in RCFProto, but will be in the near future.

UDP is supported in RCF, but not with asynchronous semantics.

Regarding reliable UDP, is it possible for you to use TCP instead? At what point does TCP let you down?
Kind Regards

Jarl Lindrud
Delta V Software
http://www.deltavsoft.com

Post Reply