il Mon, 31 Mar 2003 06:52:42 +0900, Brian Candler
<B.Candler / pobox.com> ha scritto::


>For an example of this in real code, install druby and look at drb/drb.rb
>functions 'dump' and 'load', which send or receive a marshalled object
>preceded by a 4-byte size value:



thanks Brian and Bill !
 that is actually what I need.

I'd never thought about looking at drb, I was thinking about looking
at net/*  but the protocols are all characteri-oriented, and I need
to write a client for a packet based protocol...