238  6.    ...

 :

int Bufferld;

Bufferld = pvm_initsend(PvmDataRaw);

//. . .

  PvmDataRaw,   pvm_initsend()   -
, ,       , ..  
.        -
 (        Bufferld).  , 
           ,
 PVM-     ,      -
   .

  PVM   ,  
  .



# include "pvm3.h"

int pvm_send(int taskid, int messageid);

int pvm_psend(int taskid, int messageid,

char *bu?fer,int len, int datatype);

int pvm_mcast(int *taskid,int ntask,int messageid);

      taskid   
PVM-,   .    pvm_mcast () -
 taskid   ,  , -
    * taskid.  messageid  -
  .     -
 ,   .    
     , :

pvm_bu?info(N, &NumBytes, ScMessageId, &Ptid) ;

//. . .

switch(Messageid)
{

case 1 : //  .
break;

case 2 : //  .

break
//. . .
}

    pvm_bufinfo()    -
   ,     N.    -
 ,   (messageid)  ,   .
  messageid,      -
.  pvm_send ()     ,
       ,    
 ,     . -   -
  .  pvm_psend ()  