A bit stuck on creating a new image

Doug Lerner doug at webcrossing.com
Sun Jan 25 18:00:59 EST 2004


On 1/26/04 1:42 AM, "Frank Leahy" <frank at backtalk.com> wrote:

> You might consider changing your server protocol to not use CRLF as the
> delimiter (I'm assuming you wrote the server portion too?).  In HTTP
> for example, the web server either sends the image size in the http
> header, or if that's missing, it assumes the image is complete when the
> connection closes.
> 
> You might consider having two data types, text and binary, and when you
> send text it's CRLF delimited, and when it's binary, you send along the
> size.

The latter suggestion sounds like a more reasonable way to go.

doug



More information about the use-livecode mailing list