Fixed the case of Windows socket library
Fixed function name case