There are two ways to do that:
-
The client uses Comm's sendfile mechanism to transparently send each message. We will discuss, in class, how the
Comm framework does that during one of the Sockets lectures.
-
The sender reads each binary file and stores it in the body of a message, one message for each file, and
sends the message to the TestHarness.
The TestHarness will need to use code dedicated to whichever of the two alternatives you choose.