realbasic-nug
[Top] [All Lists]

Re: TCP transmissions

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: TCP transmissions
From: Brian Rathbone <brianrathbone at bellsouth dot net>
Date: Thu, 27 Apr 2006 22:36:06 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20060428004201 dot 0B1EF731AA at hoggle dot dreamhost dot com> <8CD3029F-42E0-4323-A235-A803FA258DC4 at kellerfarm dot com> <acc0f28d93b8bcee7e155fe489210f95 at realsoftware dot com> <BC936F8B-04B7-4E6E-8B41-34749CD97BAC at kellerfarm dot com> <44517EF3 dot 1020405 at bellsouth dot net>


Brian Rathbone wrote:

  i = instr(me.lookahead,seperator)
 while i > 0
   if i > 0 then
     s = me.read(i)
     //s now has a complete message + seperator
   end if
   i = instr(me.lookahead,seperator)
 wend


Oops, I guess that if then statement is spurious, but you get the gist.

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


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