I am trying to make a chat server and client and my problem is that if I tell the program to readln(sin, s) it reads sin even though the other person has'nt written something there. I only want it to read the file if there has been a change to the it. Like some kind of event handler I guess. Anybody know how to do this?