realbasic-games
[Top] [All Lists]

Re: Net Play

To: "REALbasic Games" <REALbasic-Games at lists dot realsoftware dot com>
Subject: Re: Net Play
From: Kevin Ballard <kevin at sb dot org>
Date: Sun, 28 Sep 2003 04:50:49 -0400
References: <BB9B11C5 dot 4FD4%larsjensen at rcn dot com>
UDP doesn't even guarantee that they arrive in the same *order*, or even that they arrive *at all*! So keep that in mind.

On Sep 27, 2003, at 10:07 AM, Lars Jensen wrote:

and download MyFirstSocket. This will show you how to exchange bytes between machines, but it doesn't guarantee that messages will arrive in one chunk. You will need to invent or borrow a protocol -- a way to group the bytes together into messages and decide what they mean. (That's for TCP; I believe
UDP works the same way but I haven't used it myself.)

--
Kevin Ballard
kevin at sb dot org
http://www.tildesoft.com


---
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

<Prev in Thread] Current Thread [Next in Thread>