1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00

In posix StreamingSocket, added a shutdown call before closing the socket to make it disconnect.

This commit is contained in:
jules 2014-11-20 11:16:43 +02:00
parent 1caff11c6b
commit ef63ba5d80

View file

@ -389,7 +389,10 @@ void StreamingSocket::close()
}
if (handle != -1)
{
::shutdown (handle, SHUT_RDWR);
::close (handle);
}
#endif
hostName.clear();