nanomsg/nanomsg — pull request #302 by TTimo (2014-08-19 15:10:40+00:00)
Title: wait on sndfd in nn_sock_send instead of rcvfd

The changes introduced by the addition of the ipc_stress test have a typo.

On Windows, the nn_efd_wait on rcvfd would cause the following abort:
An operation was attempted on something that is not a socket.
10038

Looking at nn_sock_send and nn_sock_recv, it's obvious this should be a nn_efd_wait on sndfd instead.

NOTE: The ipc_stress test will still hang and fail on Windows after this, but I believe this is a step in the right direction nevertheless.