UDP vs TCP

Posted by HomerTheDragoon on Dec. 4, 2006, 5:54 p.m.

<b>39.dll:</b>

Alright for my project im working on, its the first time ive used 39.dll. And I was reading up on it alittle(i already got my lobby(waiting room, it shows players in the game ie name) However i was wondering if i should use udp on both sides or no. Because from what i read, if you dont make a udp port on the client side they dont need to worry about port forwarding. Anyways, as most of you know, or i think that udp sends information faster.(however not everything is gaurenteed…) Anyways What should i do? How much of a difference will it make?

<b>BMG:</b>

Hopefully this will be intergrated to online soon so you can duke it out with other people in some zanny minigames online!. Once i finish the online engine ill merge it with the game and hopefully it will become one of the best online party games! eh maybnot but it will probably be a first for a gm game(first online minigames game).

The link to the game is in one of my blogs i think 2 ago.

Comments

HomerTheDragoon 17 years, 11 months ago

what if they are connected but not sending any messages?

is that possible?

SleepinJohnnyFish 17 years, 11 months ago

then receivemessage(conn) will return a negative number.

HomerTheDragoon 17 years, 11 months ago

ahh so it only returns 0 if hes not connected… Cool Thanks alot SJF. Youve helped me alot.