http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



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

[gameprogrammer] Re: Multiplayer networking advice



On Jan 27, 2008 6:56 PM, Alan Wolfe <alan.wolfe@gmail.com> wrote:
>
> TCP/IP vs UDP
>
> If you don't know the difference between TCP/IP and UDP, TCP/IP is
> reliable transmisions while UDP is not necesarily reliable, but is a
> lot faster with less overhead.  If you have things in your game that
> if the information doesn't get to the player on a rare basis you'd be
> ok with it, you might want to check out using UDP for those thing, and
> using TCP/IP for the things that really really matter.  You can
> squeeze a lot more network preformance out of your game that way.

I have found that UDP is a little more difficult to work with. I think
going straight to UDP might be a premature optimization. I suggest
keeping it simple and start with TCP and then if you have performance
issues, try UDP to see if it helps.

Chris

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html