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

@@ -819,6 +819,15 @@ public:
*/
void Close();
/**
Shuts down the writing end of the socket.
This function simply calls the standard shutdown() function on the
underlying socket, indicating that nothing will be written to this
socket any more.
*/
void ShutdownOutput();
/**
This function simply deletes all bytes in the incoming queue. This function
always returns immediately and its operation is not affected by IO flags.