Quote Originally Posted by {MSX}
Quote Originally Posted by jamesa
Hello,

I am developing a simple online card game. What do you think is the best method? using TCP or UDP?
A card game doesn't suffer for a little latency, so i suggest you to use TCP, which is easier and reliable.
Easier you say? I would say they are even. They just work a bit differently. UDP doesn't need to keep connection so there's no client list. UDP sends faster but doesn't resend if packets get lost or come corrupted.

I'm using totally free component WSockets, which provides TCP and UDP client and server for both. Earlier used SimpleSockets2, but found this one better and more reliable.