There are too many ways of doing this. Besides, it's pretty much apparent that what you describe could not be the final functionality, so, your design will depend on your more advanced plans. You can choose from raw sockets to
TpcListener
/
TcpClient
to classical remoting or WCF (especially self-hosted).
I provided my short (and incomplete) overview of some major levels of .NET networking in my past answers:
how i can send byte[] to other pc[
^],
Communication b/w two Windows applications on LAN.[
^].
—SA