ignore .dirstamp
use closesocket() on windows