TCP or UDP?
Awhile back everybody used UDP because it was faster, now I hear that Halflife uses TCP? How much slower is TCP over UDP?
If TCP runs Halflife without any problems surely it is the better protocol to use as you don''t have to worry about lost packets and packets arriving out of order?
Or were the Halflife coders just lucky?
November 06, 2000 05:56 PM
Last time I checked Half-Life uses UDP over the net, I half a UDP proxy to grab packets from games like that, I wrote it to help me understand the Quakeworld protocol to write a proxy for it. I could use it to dump HL packets also.
November 06, 2000 06:04 PM
It would be real odd if Halflife used TCP as it is built on the Quake2 engine which uses UDP. The thing that would make TCP bad for these kinds of games is that the error checking/correction mechanism is slow and can lock the connection for over a minute when a packet is dropped. TCP also has longer headers than UDP, forcing you to cut down on the data you want to transfer.
Henry
Henry
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement