Hi Marc, >the buffer. When we read at the end, the buffer position is >resetted, >and new data from the port is copied into the buffer. That would be useful for a thing I just ran into: I can't pass the color_map from the server to the client because it's too big. This would solve the problem, I think (although maybe we could use an area in this case). Stefano Ceccherini aka Jack Burton --------------------------------------------------------------- Scegli il tuo dominio preferito e attiva la tua email! Da oggi l'eMail di superEva e' ancora piu' veloce e ricca di funzioni! http://webmail.supereva.it/new/ ---------------------------------------------------------------