January 22nd, 2020 - Snutt & Jace Talk: NAT

January 22nd, 2020

Snutt & Jace Talk: NAT

https://www.youtube.com/watch?v=4WFbYbEegN4

Suggested Wiki Refrence Code

Topics

Transcription

  1. Snutt & Jace

    NAT problems, I don't know if we've done any more work on them.

    The dedicated servers, we'll fix them if you use dedicated servers.

    Hopefully.

    Yeah.

    Hopefully.

    But without that, I can't remember if we've done any more.

    We could talk about NAT in general.

    Why is that an issue for some people?

    Because you might have seen or experienced yourself that sometimes it's really hard to connect, or maybe you've never been able to connect and stuff like that.

    uh and it's like one of the hardest part of any networking game is because we're using um oh what is the protocol called it's not uh tps or tsp it's uh uh i'm like blanking out i just work with this every day and whatever uep

    UDP, thank you.

    So UDP is like a faster protocol to send data, but it's also like if you just send a bunch of transmissions to someone, they have to open their ports and everything behind the router.

    So if they're behind a router, they have to open ports to allow you sending them data.

    And that's the hardest part of connectivity is the fact that

    computers don't want you to open ports unless you're sending some data first.

    So there's a lot of tricky ways to try and get the router to allow people to connect.

    It's a bitch.

    It really is.

    And it's really frustrating.

    And we've implemented a few...

    things that will mitigate that but obviously like we're not catching every single case yet uh but rest assured that we we know about it uh we are looking into ways to get more people because like obviously we want everyone to play um

    And it's a thing that we just have to work on all the time.

    It was the same thing when I used to work on different multiplayer games.

    Some people just have NAT issues.

    And the really unfortunate thing is sometimes it's your ISP that's messing up for you.

    Because you can have the issue where if you have a router behind a router, which not most people have, but it can happen in certain situations.

    Sometimes it's just like your ISP is not forwarding your IP address to your router because they're like, ah, this is scummy.

    So it's just such a complex issue.

    And there's so many ways it can go wrong and stuff.

    LoadDecapa has an interesting comment there.

    Maybe we could, I don't know, you know more about this than me.

    The UDP is sessionless.

    You guys could start a TCP tunnel that runs the protocols once you get a reply.

    Yeah, it's the same issue, though, because like you can establish connection through TPC.

    I can't talk.

    You establish a connection there, right?

    And you say like, all right, let's talk on this protocol.

    And then you start the first transmission and then router's like, nope, that's not, can't allow that, yeah.

    He says that's how YouTube works.

    Yeah, YouTube is Elizabeth's special because YouTube keeps the TCP connection going, I think.