summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorStephane Letz <letz@grame.fr>2016-09-13 18:00:22 +0200
committerStephane Letz <letz@grame.fr>2016-09-13 18:00:22 +0200
commit364159f8212393442670b9c3b68b75aa39d98975 (patch)
treee144086ed104ca75c4824d0eee5c4c296c209f0b /windows
parentff1ed2c4524095055140370c1008a2d9cccc5645 (diff)
downloadjack2-364159f8212393442670b9c3b68b75aa39d98975.tar.gz
Fix for JackNetUnixSocket::SendTo.
Diffstat (limited to 'windows')
-rw-r--r--windows/JackNetWinSocket.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/windows/JackNetWinSocket.cpp b/windows/JackNetWinSocket.cpp
index de7580c2..6c1e6f5e 100644
--- a/windows/JackNetWinSocket.cpp
+++ b/windows/JackNetWinSocket.cpp
@@ -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);
}