Re:Show HN: PSX Party – Online Multiplayer Playstation 1 Emu...
by 0df8dkdf on Thursday December 31, 2020 @01:38AM
(#25590169)
Correct me if I'm wrong. STUN/TURN is the one that is doing the UDP punching. And in the event that fails, all the data are being passed through the STUN/TURN server, which makes it just like client/server setup where the server became the bottle neck again.
Re:Show HN: PSX Party – Online Multiplayer Playstation 1 Emu...
by ensiferum on Thursday December 31, 2020 @09:53AM
(#25593161)
Stun is a protocol to query the network about the topology. Turn is a protocol to route through a third party when p2p fails. Both of these are part of the ICE methodologies.
Re:Show HN: PSX Party – Online Multiplayer Playstation 1 Emu...
by Orphis on Thursday December 31, 2020 @10:16AM
(#25593386)
STUN is basically a way to know your external IP address to share to others and have both peers try to connect to one another through them. It's lightweight.
If that fails, then there's TURN which acts like a proxy between the peers.
That said, it was better than NAT punch-through and/or UPNP which are not very reliable these days.