I want my PHP server to send info to one or more java clients. each Java client has an ID, how can the server know which client will receive this info without checking all the clients' IDs.
I did some research and I think I need to use sockets and multi threads but I am a beginner in Java,PHP and networks, I need some guidance.
So, how can the server know which client will receive this info without asking each client for its IDs.
the server will send to the java(android)clients without their request.
I solved this problem by using a push notification service...thank you all for your help