TServerSocket Connect

Hello,

    How to force TServerSocket  connect to a specific Client we know its IP Address and Port Number and currently not connected to any server?

  I have a Client Server Applications and I want to make the server application searchs for the Client applications and when find them, try to connect to them.

is it possible?
i7madAsked:
Who is Participating?
 
TheRealLokiConnect With a Mentor Senior DeveloperCommented:
I think you are getting confused with the terminology
socket clients connect to socket servers.
but there is no reason why your client "application" can't have a socket server on it...
then your server "application" can try to connect to all of the client "applications"
note; your server "application" would need to create a new client Socket for each connection
0
 
MerijnBSr. Software EngineerCommented:
Clients connect to a server, not the other way around. What do you mean exactly?
0
 
i7madAuthor Commented:
MerijnB:

 Thanks for your fast response.

  I want my  Application to let user of server knows who is Online.

Online means : Client Applications running and not connected to any server.

ALL Clients has the same Port namber, and the server as well.
0
 
MerijnBSr. Software EngineerCommented:
This is not possible, you can not make a connection to a client...
0
 
i7madAuthor Commented:
That was what I did exactly, Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.