13
0

even more attempted changes for ipMIDI on windows

This commit is contained in:
Paul Davis 2015-12-12 01:17:49 -05:00
parent c92af555b4
commit eb26cb346a

View File

@ -257,7 +257,7 @@ IPMIDIPort::open_sockets (int base_port, const string& ifname)
error << "cannot set non-blocking mode for IP MIDI input socket (" << ::strerror (errno) << ')' << endmsg; error << "cannot set non-blocking mode for IP MIDI input socket (" << ::strerror (errno) << ')' << endmsg;
return false; return false;
} }
imode = 1; mode = 1; /* just in case it was modified in the previous call */
if (ioctlsocket(sockout,FIONBIO,&mode)) { if (ioctlsocket(sockout,FIONBIO,&mode)) {
error << "cannot set non-blocking mode for IP MIDI output socket (" << ::strerror (errno) << ')' << endmsg; error << "cannot set non-blocking mode for IP MIDI output socket (" << ::strerror (errno) << ')' << endmsg;
return false; return false;