It is the creation of the socket that failed, not the socket itself.