Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cygwin should not use winsock2 #177

Merged
merged 1 commit into from
Mar 25, 2017
Merged

Cygwin should not use winsock2 #177

merged 1 commit into from
Mar 25, 2017

Commits on Mar 25, 2017

  1. Cygwin should not use winsock2.

    The configure.ac script was erroneously including -lws2_32,
    i.e. the winsock2 library. Cygwin is a full POSIX environment
    and does not need the winsock2 functionality as it supplies its
    own POSIX compatible sockets.
    
    Including -lws2_32 caused getnameinfo to fail with error 10093
    (WSANOTINITIALISED). This usually means that the Winsock
    WSAStartup function has not been called. Calling WSAStartup is
    not necessary for Cygwin programs and in fact should be avoided.
    billziss-gh committed Mar 25, 2017
    Configuration menu
    Copy the full SHA
    e35a44e View commit details
    Browse the repository at this point in the history