diff options
Diffstat (limited to 'source/OSSupport/Socket.cpp')
-rw-r--r-- | source/OSSupport/Socket.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/OSSupport/Socket.cpp b/source/OSSupport/Socket.cpp index d44a343e0..cad120fbe 100644 --- a/source/OSSupport/Socket.cpp +++ b/source/OSSupport/Socket.cpp @@ -51,12 +51,12 @@ cSocket::xSocket cSocket::GetSocket() const -bool cSocket::IsValid(void) const +bool cSocket::IsValidSocket(cSocket::xSocket a_Socket) { #ifdef _WIN32 - return (m_Socket != INVALID_SOCKET); + return (a_Socket != INVALID_SOCKET); #else // _WIN32 - return (m_Socket >= 0); + return (a_Socket >= 0); #endif // else _WIN32 } |