Networking - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Tools & Technology (/forum-10.html)
+--- Thread: Networking (/thread-6811.html)
Networking - David - Aug 21, 2003 02:24 PM
How do you do netcode that works in OS 9 and X without using Openplay? I just tried it for a while and decided it is not good for my project (slow, buggy, etc.)
Networking - KittyMac - Aug 21, 2003 03:13 PM
OpenTransport is a pain in the buttocks to use, but its the only thing which gets the job done on both OS X and OS 9 (IMHO).
Networking - OneSadCookie - Aug 21, 2003 03:18 PM
You may be able to find a socket layer which works on top of Open Transport but presents the standard interface. I think I saw such a thing at one point, but I don't know how good it was or what it was called...
Networking - skyhawk - Aug 21, 2003 03:35 PM
Quote:Originally posted by KittyMac
I would suggest open heart surgery before Open Transport.... less painful
Networking - David - Aug 21, 2003 06:02 PM
Hmm... do you know of any good links to info about 3d netcode in general, or examples of Open Transport or Openplay in a real-time game?
Networking - KittyMac - Aug 21, 2003 06:19 PM
For an OpenTransport example, check out The Belt's source code from last year. It wrappers OpenTransport and WinSock calls for both UDP and TCP.
Finally, there was another gamasutra article which I remember reading but couldn't readily find. It was a postmortem for one of the StarWars flight sim games. One good point from that was to get around the unreliable nature of UDP, they send the past 10 or so UDP packets each time (so for the pcket which represent timestamp n they send n, n-1, n-2, n-3, etc all together). This way if one or two packets get lost the other computer can get them the next time it receives a packet without having to bug the client for a resend, etc... Neat idea, never tried it out myself.
Networking - OneSadCookie - Aug 21, 2003 07:25 PM
There's a good description of how Unreal Tournament's networking works... I found it just the other day and gave the link to someone on the chat room...