#include "wx/event.h"
#include "wx/sckaddr.h"
-#include "wx/gsocket.h"
+#include "wx/private/gsocket.h"
#include "wx/list.h"
// ------------------------------------------------------------------------
wxSocketFlags GetFlags() const { return m_flags; }
void SetFlags(wxSocketFlags flags);
void SetTimeout(long seconds);
+ long GetTimeout() const { return m_timeout; }
bool GetOption(int level, int optname, void *optval, int *optlen);
bool SetOption(int level, int optname, const void *optval, int optlen);
friend class wxDatagramSocket;
// low level IO
- wxUint32 _Read(void* buffer, wxUint32 nbytes);
- wxUint32 _Write(const void *buffer, wxUint32 nbytes);
+ wxUint32 DoRead(void* buffer, wxUint32 nbytes);
+ wxUint32 DoWrite(const void *buffer, wxUint32 nbytes);
// wait until the given flags are set for this socket or the given timeout
// (or m_timeout) expires