Advertisement Jump to content
Sign in to follow this  
Pokerjoker

Multiplayer without port forwarding

This topic is 1046 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!