This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
In posix StreamingSocket, added a shutdown call before closing the socket to make it disconnect.
tags/2021-05-28
jules
11 years ago
parent
1caff11c6b
commit
ef63ba5d80
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
modules/juce_core/network/juce_Socket.cpp
+ 3
- 0
modules/juce_core/network/juce_Socket.cpp
View File
@@ -389,7 +389,10 @@ void StreamingSocket::close()
}
if (handle != -1)
{
::shutdown (handle, SHUT_RDWR);
::close (handle);
}
#endif
hostName.clear();
Write
Preview
Loading…
Cancel
Save