The description for the Server is: "The Server class creates servers which can send data to and receive data from connected clients (programs running on other computers or devices). "
So, I have a server and a connected client, and I want to send data to the client, why does available only allow me to get a client if it has data for me? Why can't I send get the client and send data to it?
It seems to me that server.available should tell me all available clients and client.available should tell me if there is any data on the client?
Or is the send data to the client only when it sends data to the server as an acknowledge?