Double check the availability of closesocket on other platforms.