ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] Socket Connection
Ingo Pakleppa
Sun, 07 Jan 2001 19:13:29 -0800

At 11:02 PM 1/7/2001 +0100, Dario Greggio wrote:
>As for binary data, unless we want to deal directly with them (that is,
>build binary data on our own), a solution I've found is to look for such
>files on the hard disk: this way, you may send images or sounds to the
>client without having to open and handle them.

Well, the point I was trying to make is that quite often, if you just open 
a binary file and send it, the protocol won't be able to handle it. You may 
have to first translate it into ASCII characters using something like 
Base64 encoding or UUEncode.

Of course I may well be quite off base on this. Personally, I have no need 
for TCP/IP; I'm just looking at the request from a software engineering 
standpoint.

Ingo


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.