Networking for Dummies?

Blitz3D Forums/Blitz3D Programming/Networking for Dummies?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It depends on how fast you need it to be. If you're just sending a few bytes, like just the X,Y position of an object, than DirectPlay is fine. However, if you plan on sending larger amounts of data back and forth, than you should definately go with UDP. The only drawback to using UDP is that you cannot assume that every message you send will arrive. TCP is usually used for web protocols like HTTP and SMTP, but it would work for a game as well. TCP packets will always arrive at their destination, but are a little slower than UDP.