EthernetServer and EthernetClients - Identifying the clients

Hello,

I am using an arduino with the official arduino ethernet shield. If you have an EthernetServer that has multiple EthernetClients how do you distinguish between the clients? Can you compare the existing client to server.available to determine if it is an existing connection?

Right now, I can allow a client(s) to connect, evaluate the request, send data back to client and then stop the client connection. However, I want to be able to send data back to the client at a later time.

Thanks,

-ren

However, I want to be able to send data back to the client at a later time.

Since the client/server connection is closed, the origional client will also have to be a server to accept an incomming connection with the late data.

Zoomkat,

Yes, that is generally the case. In this case it would be a websocket connection.

-ren