Commit bbb6c723 authored by sletz's avatar sletz
Browse files

Correct name

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2111 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 94f91b8a
......@@ -47,11 +47,11 @@ void JackClientSocket::SetWriteTimeOut(long sec)
}
}
void JackClientSocket::SetBlocking(bool onoff)
void JackClientSocket::SetNonBlocking(bool onoff)
{
int flag = (onoff) ? 1 : 0;
if (ioctl(fSocket, FIONBIO, &flag) < 0) {
jack_error("SetBlocking fd = %ld err = %s", fSocket, strerror(errno));
jack_error("SetNonBlocking fd = %ld err = %s", fSocket, strerror(errno));
}
}
......
......@@ -69,7 +69,7 @@ class JackClientSocket : public JackChannelTransaction
void SetReadTimeOut(long sec);
void SetWriteTimeOut(long sec);
void SetBlocking(bool onoff);
void SetNonBlocking(bool onoff);
};
/*!
......
......@@ -31,7 +31,7 @@ int JackSocketServerNotifyChannel::Open(const char* server_name)
jack_error("Cannot connect to server socket");
return -1;
} else {
fRequestSocket.SetBlocking(true);
fRequestSocket.SetNonBlocking(true);
return 0;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment