From: gabriele renzi Date: 2003-03-31T02:49:56+09:00 Subject: writing a 4 byte Integer to socket I need to write a value (it should be a Fixnum, but I'm not sure) over a TCPSocket. How can I write it in a typical "4 bytes, network byte order" style? And what if I need to compose a byte and send it over the network? Is BitVector the only choice?