Newsgroups: comp.parallel.pvm
From: dfields@lehman.com (Doug Fields)
Subject: Prepending data to a message buffer?
Organization: Lehman Brothers Inc.
Date: Fri, 1 Jul 1994 13:34:06 GMT
Message-ID: <Cs9KCu.AJB@lehman.com>

Hello. I want to write a routine which will take a message buffer
and send it somewhere. However, the problem is that I have to put
a wrapper around this message so that the receiver can further
route it where it belongs.

In other words, I want to start with a buffer packed full of stuff,
call it A. I want to send a message B which consists of some sort of
tag and the contents of A. When message B is received, it should be
able to do an unpack() to get the tag out, then the rest of the
unpacks will access the data from A.

Any hints?

Cheers,

Doug

