Confusing SOCKET and int in netapi32