Its been a few years since i've coded any network applications so I was hoping for some suggestions on the best approach.
I have written two programs which i now need to have them communicate with one another. They are both running on a LAN (over VPN) with static IP addresses.
I have a central program which will act as a server and receive incoming data from the clients. However, i also need to have the server distribute data back to the clients from time to time.
I am currently heading toward having both the server and client implement a TCPListener so that either end can establish the connection and send data; is this the best approach or is there a better two way architecture i can implement?