Aces High Bulletin Board

General Forums => Hardware and Software => Topic started by: SectorNine50 on January 05, 2011, 11:23:03 AM

Title: TCP vs UDP in AH2
Post by: SectorNine50 on January 05, 2011, 11:23:03 AM
Backstory: I'm taking a class that is about the internet, it's history, it's protocols, and the social and security ramifications of both.  We started talking about TCP vs UDP and why each is used, when the teacher brought up something that made me wonder...

Why does AH2 use TCP?  Wouldn't the packet retransmit abilities of this protocol cause warping when a packet was lost?  The way the internet works now, it seems that when you send the packets from the client to the server, they will inevitably get hung up in the buffer (particularly with how congested companies like Comcast are).  If one gets lost, and the TCP protocol requests a retransmit, you'd get an out-of-sequence packet, that could potentially make the plane warp backwards then back to it's current location since the server is waiting for the client's retransmitted packet to arrive.

I'm not assuming that I know the netcode of the game, but it just seems that just using UDP and ignoring packet retransmit could keep the large-distance warping issue, that happens occasionally, from occurring.  I know that a lot of FPS' use the UDP protocol for this same reason.

I guess basically I'm wondering if anyone could shed light as to why this game would use TCP over UDP. :salute
Title: Re: TCP vs UDP in AH2
Post by: ImADot on January 05, 2011, 11:40:05 AM
There was an excellent post about this somewhere...I'm sure somebody will dig up a link to it.  Might have been from Skuzzy in the Tech Support forum.
Title: Re: TCP vs UDP in AH2
Post by: Bino on January 05, 2011, 12:37:45 PM
Aces High defaults to using UDP, and will only fall back to TCP if there's a problem.
Title: Re: TCP vs UDP in AH2
Post by: SectorNine50 on January 05, 2011, 12:43:27 PM
Aces High defaults to using UDP, and will only fall back to TCP if there's a problem.

I thought it was the other way around?
Title: Re: TCP vs UDP in AH2
Post by: Bino on January 05, 2011, 12:45:31 PM
I thought it was the other way around?

Nope, check this post from Skuzzy (http://bbs.hitechcreations.com/smf/index.php/topic,68316.0.html).
Title: Re: TCP vs UDP in AH2
Post by: SectorNine50 on January 05, 2011, 01:47:55 PM
Ah okay, thanks for the info. Clears that up haha