X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc0972a2514ecc52f1905bbfa92168e10a6c6267..44c87b7d15d5c1f5926beffa4cd5c9d1d2045e04:/include/wx/socket.h diff --git a/include/wx/socket.h b/include/wx/socket.h index 165aa97890..6107362658 100644 --- a/include/wx/socket.h +++ b/include/wx/socket.h @@ -160,6 +160,7 @@ public: 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);