Added Destroy()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia
2000-03-03 19:24:24 +00:00
parent d7bd7ca5bf
commit 9181a38382
2 changed files with 26 additions and 10 deletions

View File

@@ -134,6 +134,7 @@ protected:
unsigned long m_timeout; // IO timeout value
wxList m_states; // Stack of states
bool m_interrupt; // Interrupt ongoing wait operations
bool m_beingDeleted; // Marked for delayed deletion
// Pushback buffer
char *m_unread; // Pushback buffer
@@ -147,9 +148,10 @@ protected:
public:
wxSocketBase();
virtual ~wxSocketBase();
virtual bool Close();
virtual bool Destroy();
// Base IO
virtual bool Close();
wxSocketBase& Peek(char* buffer, wxUint32 nbytes);
wxSocketBase& Read(char* buffer, wxUint32 nbytes);
wxSocketBase& Write(const char *buffer, wxUint32 nbytes);