Processing is suspended whilst the message is being sent. Valid entries include any legal C data type, it should be a pointer. Valid entries include any legal C type, it should be a pointer. The data in sbuf is not guaranteed to be sent before the reply begins to arrive in rbuf . It is therefore essential to use two separate buffers.
Computation can therefore continue whilst a message is arriving.
Valid entries include any legal C type, it should be a pointer. There are also ways of using typesel to select for the first message matching a set of message types. Valid entries include any legal C data type, it should be a pointer. You should check that the send has completed before accessing the contents of buf , otherwise you could corrupt the buffer being sent. Processing may continue whilst the message is being sent.