Use closesocket macro consistently, not close directly, for easier portability. Submitted by: Lennart Bång