wxSocketBase& Read(char* buffer, size_t nbytes);
wxSocketBase& Write(const char *buffer, size_t nbytes);
wxSocketBase& Unread(const char *buffer, size_t nbytes);
+ wxSocketBase& ReadMsg(char *buffer, size_t nbytes);
+ wxSocketBase& WriteMsg(const char *buffer, size_t nbytes);
void Discard();
// Try not to use this two methods (they sould be protected)
wxSocketBase::wxRequestEvent SocketEvent() const { return m_skevt; }
wxSocketBase *Socket() const { return m_socket; }
- wxObject *Clone() const;
+ void CopyObject(wxObject& obj_d) const;
+
public:
wxSocketBase::wxRequestEvent m_skevt;
wxSocketBase *m_socket;