Jump to content
  • Advertisement
Sign in to follow this  
ill

DCCP over UDP

This topic is 2690 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So UDP is more or less the best choice for high action client-server games like Quake from what I've seen. This can also apply to other similar games and I think also applies to the RTS we are making using client-server architecture rather than lockstep peer to peer.

The problem with UDP is it has no flow control and that has to be implemented on top of it, or it can just be forgotten and not implemented as long as there is some limit to packet send rate. DCCP looks like a version of UDP but with flow control already implemented for us.

My main concern is whether or not Steam supports games that use DCCP. I heard from people who sell their games on Steam that you have to integrate with their API and replace some netcode. I don't know the full details of that because they don't release any of that info to people who aren't signed on with them yet, and the only way to get signed on with them is to have a complete enough demo of a game which we don't have either.

Anyone out there know how flexible the Steamworks API is for supporting DCCP rather than the most common UDP and TCP/IP protocols?

Share this post


Link to post
Share on other sites
Advertisement
Try out ENet http://enet.bespin.org/index.html it is simple and gives you what you need. The great thing about ENet is that the library is not bloated and the licensing is great.

Share this post


Link to post
Share on other sites

Try out ENet http://enet.bespin.org/index.html it is simple and gives you what you need. The great thing about ENet is that the library is not bloated and the licensing is great.


But the problem with libraries is I have no idea how easy it will be to integrate with Steam. I can't find the info on their site because they don't reveal enough info to people unless they are already signed on as developers. I have a feeling TCP/IP and UDP will work just fine. I want to make sure that before I commit to using a library whether or not I'm wasting time and will have to reimplement the whole thing with pure UDP later myself.

Share this post


Link to post
Share on other sites

But the problem with libraries is I have no idea how easy it will be to integrate with Steam. I can't find the info on their site because they don't reveal enough info to people unless they are already signed on as developers. I have a feeling TCP/IP and UDP will work just fine. I want to make sure that before I commit to using a library whether or not I'm wasting time and will have to reimplement the whole thing with pure UDP later myself.


If you believe UDP will work, then ENet will work. You have the source to ENet. If you need to replace "send UDP datagram" with another function, simply replace the function that ENet uses to send such datagrams.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!