[racket] images from tcp

From: Danny Yoo (dyoo at hashcollision.org)
Date: Tue Apr 16 02:25:00 EDT 2013

When you say the term "encrypt", you are using a term in an unconventional way.

Traditionally, programmers use the word "serialize" when talking about
translating values to a byte stream.

It's unclear from your email what you precisely mean by "image".  For
the moment, I will assume that you mean "instance of bitmap%", where
bitmap% is


If that's the case, use the save-file method method to serialize the
bitmap%, sending its bytes into an output port.


If you are not working with bitmap% instances, can you be more
descriptive of what data you are working with?

Posted on the users mailing list.