Hi Maciej, Thanks. Still i would like to know what the problem is with the original code? I'm trying to learn about sockets. If anyone has any suggestions, i would really appreciate it. Thanks. G