Jump to content
  • Advertisement
Sign in to follow this  
Pokerjoker

Multiplayer without port forwarding

This topic is 865 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

Hey guys,

I was wondering how Games like Terraria's new multiplayer works, as in before that big update last year, a multiplayer server required portforwarding but now people can just invite there friends to play a game and it requires no portforwarding what so ever.

So what I am wondering is why doesn't it require portforwarding and how does that way work, as I assume they are using some sort of tech valve has, like steamworks?

Cheers

Edit:
https://partner.steamgames.com/documentation/api

So I was looking around, is it peer to peer

Share this post


Link to post
Share on other sites
Advertisement
If it's a Steam game and you're using the Steam SDK it's all done for you. Steam does the tunneling and packet reflection for you. It uses libjingle for nat-punch-through, and dedicated relay servers.

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!