Your Approcah is absolutely Fine! I developed something like:
Client Class // Used on Client end to deal with Connection and all Communication with Remote Machine
Client Proxy Class // Used on the Server end to deal communication with the connected client
Both Classes are self tuned and self run The initiaters only create and object and call Connect functions. That's It.
Use Asynchronous sockets (Non blocking) Avoid MultiThreading.
What Else Hmm! Think and share with us, So we can learn more with better Ideas you have :)
Best Regards
|