realbasic-nug
[Top] [All Lists]

Re: TCP packet - are separate packets collected into one?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: TCP packet - are separate packets collected into one?
From: Joe Strout <joe@inspiringapps.com>
Date: Thu, 26 Feb 2009 15:21:51 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <89fe53800902261402s3ecd9b38q2ae87080dddce43c@mail.gmail.com>
Organization: Inspiring Applications, Inc.
References: <89fe53800902261201u4d7703d7s5a7f9edeab9bad45@mail.gmail.com> <49A70E35.1090504@bellsouth.net> <49A71007.4030406@bellsouth.net> <89fe53800902261402s3ecd9b38q2ae87080dddce43c@mail.gmail.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
Thomas Tempelmann wrote:

I always send a header of 8 bytes first, 4 bytes being a code for the
type of data to follow, and 4 bytes being the amoung of data to follow
for that type. then comes the actual data ("payload").

That'll work. Or you could use EasyTCPSocket, which does exactly that for you.

Best,
- Joe


--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com


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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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