Communication Simulation with Objects in C#

Apr 13 2018 4:31 AM

 

Hello i have to programm network algo only with objects not real network communication..

But the beginning is difficult for me

For Example:

I have a Network class with all Peers and when a Peer is sending they have a send event to the network class which takes the target element and do the peer receive function...

But i am searching a better way for this but found nothing....

Is there any better way to do a communication between for example two Peer Objects with send and receive function?

Thank you in advance for any help