Hi cinap, hangup(cfd); /* hangup connection, fd stays valid but i/o will error */ > thank you for your explanation and help. Going to use 'hangup' function. ;) Pavel