git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56933
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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);
*/
bool GetPeer(wxSockAddress& addr) const;
+ /**
+ Return the socket timeout in seconds.
+
+ The timeout can be set using SetTimeout() and is 10 minutes by default.
+ */
+ long GetTimeout() const;
+
/**
Returns @true if the socket is connected.
*/