On 17-Dec-03, at 7:43 AM, Joseph J. Strout wrote:
At 8:23 PM -0700 12/16/03, Norman Palardy wrote:
I've been Base64ing all the binary I send over a network socket and
so far I can send TIFF's just fine.
All that does is make your transfers take longer. Sockets are a full
8-bit transmission mechanism, no need for Base64 here.
I could not make this work any other way.
So, I changed the protocol from purely Binary to transmitting XML
The TIFF is now a CDATA section in the XML, and does require Base64
otherwise the binary in the CDATA can cause the XML tag to be
Not a big hit for me, but a pure binary protocol I could not make work.
And, the upside of the XML is that I can simply telnet to my server,
send the commands I want and debug the output that way.
Not having the binary work has actually made it easier to debug.
- - -
Unsubscribe or switch delivery mode:
Search the archives of this list here: