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:
@@ -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
|
||||
|
Reference in New Issue
Block a user