Newsgroups: comp.parallel.pvm
From: "N. Munkman" <N.S.Munkman@ncl.ac.uk>
Subject: HELP: Packing/Unpacking
Organization: The University of Newcastle upon Tyne, UK NE1 7RU.
Date: 19 Aug 1996 00:21:59 GMT
Message-ID: <4v8c37$jrq@whitbeck.ncl.ac.uk>


I would like to implement a class member function to pack the class data into a
buffer for transmission and another one to unpack it when it arrives. As the
class is of a variable size (containg dynamically defined arrays) I would like
to be able to indicate in some way (preferably within the packet) the size of the
arrays. Is this possible (and if so how?) or would it have to be sent as two
packets (i.e. One containing the size and the next the data)?

------
Neil Munkman			<n.s.munkman@ncl.ac.uk>
				[http://www.cs.ncl.ac.uk/people/n.s.munkman]

