added wxSocket::ShutdownOutput() (closes #9229)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-12-30 11:27:41 +00:00
parent c65f4634bc
commit b67397a779
4 changed files with 21 additions and 5 deletions

View File

@@ -770,14 +770,19 @@ bool wxSocketBase::Close()
// Interrupt pending waits
InterruptWait();
if (m_impl)
m_impl->Shutdown();
ShutdownOutput();
m_connected = false;
m_establishing = false;
return true;
}
void wxSocketBase::ShutdownOutput()
{
if ( m_impl )
m_impl->Shutdown();
}
wxSocketBase& wxSocketBase::Read(void* buffer, wxUint32 nbytes)
{
// Mask read events