added wxSocketBase::GetTimeout() to match existing SetTimeout()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-11-23 13:11:25 +00:00
parent d3dcef0170
commit 2d46f281a5
2 changed files with 8 additions and 0 deletions

View File

@@ -712,6 +712,13 @@ public:
*/
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.
*/