The model NetworkCommunication1 harbors the BookSellerAgent. The model NetworkCommunication2 harbors the BookBuyerAgent. In order to run the system, the model NetworkCommunication1 needs to be opened on one machine and the model NetworkCommunicatio2 needs to be opened on another machine on the same local network. In the parameters of the featured BookBuyerAgent and BookSellerAgent the network IP adress of the other machine needs to be specified under "uDPSend_adapted(IPAddress="134.130.49.128")". (For example, if NetworkCommunication1 runs on a machine with local IP address 192.168.2.1 and NetworkCommunication2 runs on a machine with local IP address 192.168.2.2, change the parameter of the BookSellerAgent in NetworkCommunication1 to "uDPSend_adapted(IPAddress="192.168.2.2")".)
Start the simulation of both models at roughly the same time and a book will be traded over the local network, as can be seen in the example results.
Results on the machine running NetworkCommunication1 (BookSellerAgent):
Results on the machine running NetworkCommunication2 (BookBuyerAgent):