The GetsockoptInt function is now supported on Windows.