I have a mega with Ethernet Shield and an attached DS1820 for reading temperatures. Works well so far.
I took the example from here for starting:
The connect via putty works ok. I can send data and get a response.
Now I only want to send data to the connected client as soon as he gets connected.
I changed the code to send my DS1820 reading instead the client.read():
But this won´t work. Nothing os received at the clients side. If I press Enter in Putty (= Sending CR LF) it works and the client gets the data.
Is it possible that I write directly to a connected client without sending data from the client to the server first?