Actually,
close(in);
should either be removed or changed into
closesocket(in);
It did no harm in NT4, but who knows how XP would respond...
Regards,
Dworkin
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd