This website works better with JavaScript.
Home
Help
Sign In
jackaudio
/
jack2
mirror of
https://github.com/jackaudio/jack2
Watch
1
Star
0
Fork
0
Code
Releases
45
Activity
Browse Source
Fix for JackNetUnixSocket::SendTo.
tags/v1.9.11-RC1
Stephane Letz
8 years ago
parent
ff1ed2c452
commit
364159f821
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
posix/JackNetUnixSocket.cpp
+1
-0
windows/JackNetWinSocket.cpp
+ 1
- 0
posix/JackNetUnixSocket.cpp
View File
@@ -414,6 +414,7 @@ namespace Jack
if (addr_conv < 1) {
return addr_conv;
}
fSendAddr.sin_port = htons(fPort);
#if defined(__sun__) || defined(sun)
if (WaitWrite() < 0) {
return -1;
+ 1
- 0
windows/JackNetWinSocket.cpp
View File
@@ -322,6 +322,7 @@ namespace Jack
int JackNetWinSocket::SendTo(const void* buffer, size_t nbytes, int flags, const char* ip)
{
fSendAddr.sin_addr.s_addr = inet_addr(ip);
fSendAddr.sin_port = htons(fPort);
return SendTo(buffer, nbytes, flags);
}
Write
Preview
Loading…
Cancel
Save