Use native C++ GSocket interface

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott 2004-08-06 22:14:59 +00:00
parent e27c99c750
commit 57b1deb3e9

View File

@ -118,7 +118,7 @@ public:
inline bool IsData() { return WaitForRead(0, 0); };
inline bool IsDisconnected() const { return !IsConnected(); };
inline wxUint32 LastCount() const { return m_lcount; }
inline wxSocketError LastError() const { return (wxSocketError)GSocket_GetError(m_socket); }
inline wxSocketError LastError() const { return (wxSocketError)m_socket->GetError(); }
void SaveState();
void RestoreState();