How can I write non-string data using the IO class?
In particular, I'd like to write an integer across a socket connection.
All the methods I see in IO for writing either only write strings or
only write the to_s version of an object, which is of course a string.
--
R. Mark Volkmann
Partner, Object Computing, Inc.