Re: TI-H: Demolition Calc


[Prev][Next][Index][Thread]

Re: TI-H: Demolition Calc




>Well no, not exactly. They use UDP messages between the server and the
>client, but this is because making several million TCP connections at
>a time can be very stressful for a server. Chances are that these
>connections could be better managed by some custom written code. Also,
>it is significantly easier to check for data on one socket than to
>check for it on several million. All data from every client comes into
>the same socket on the same port, so they just keep reading the
>packets in the order they're received and parsing them. It's really a
>very good way of handling things, although ICQ is by no means perfect. So,
>they use UDP, but their own clients send an ACK to every packet they
>receive. That way, you know that your pakcet did indeed, get to the
>server, or it did indeed get from the server to you. Connections
>between users however, are managed using TCP connections because there
>are a good deal fewer of them (in fact, unless they changed the limit
>in the client, you can have a maximum of 255 of them). The details of
>the file transfer protocol are not yet known, but i haven't gotten a
>corrupted file from someone yet. Anyway, since this is all handled via
>TCP, it's very reliable.

UDP packets are also dropped a ton more than TCP.  Routers are usually set
to let TCP take priority.  IAI does it, GCI doesn't.  I'm glad I switched.


References: