im doing remote desktop project. i need to connect two sockets (each from single client) through the hashtable in the separate application server, so that client1 can see the desktop of the client2. can u suggest me solution for this? how can i achieve this? so far i can connect two client directly in the LAN in client- server base through socket. now i have to implement application server to make the remote desktop working in the internet. your suggestions will be valuable. thank you.

Recommended Answers

All 2 Replies

To connect two programs through sockets, one needs to use a ServerSocket and the other a Socket.
The ServerSocket's accept method will receive a connection from the other program's Socket object.

Hashtable aren't for connecting two pocesses. They are used to store information!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.