summaryrefslogtreecommitdiff
path: root/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:05:52 +0000
committerfcolin2007-02-01 13:05:52 +0000
commitfe6c1ec690a82deddc9fa0c5ff9eb5dde9c83c8c (patch)
treea79cced8a580c39b33816380ea655fbf6137f481 /Ivy
parent19ce23a32f459a91a76035f2fee5c859066fa5fa (diff)
downloadivy-cplusplus-fe6c1ec690a82deddc9fa0c5ff9eb5dde9c83c8c.zip
ivy-cplusplus-fe6c1ec690a82deddc9fa0c5ff9eb5dde9c83c8c.tar.gz
ivy-cplusplus-fe6c1ec690a82deddc9fa0c5ff9eb5dde9c83c8c.tar.bz2
ivy-cplusplus-fe6c1ec690a82deddc9fa0c5ff9eb5dde9c83c8c.tar.xz
Utilisateur : Fcolin Date : 25/10/01 Heure : 18:39 Archivé dans $/Ivy (vss 8)
Diffstat (limited to 'Ivy')
-rw-r--r--Ivy/ThreadedSocket.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Ivy/ThreadedSocket.h b/Ivy/ThreadedSocket.h
index 1827c52..9771f10 100644
--- a/Ivy/ThreadedSocket.h
+++ b/Ivy/ThreadedSocket.h
@@ -21,7 +21,7 @@ public:
public:
SOCKET m_hSocket;
- operator SOCKET() const;
+ inline operator SOCKET() const { return m_hSocket; };
void GetPeerName(string & rPeerAddress, unsigned int& rPeerPort);
@@ -57,9 +57,6 @@ public:
unsigned int nHostPort, const char * lpszHostAddress = 0, int nFlags = 0);
-
-inline CThreadedSocket::operator SOCKET() const
- { return m_hSocket; }
inline int GetPeerName(SOCKADDR* lpSockAddr, int* lpSockAddrLen)
{
return getpeername(m_hSocket, lpSockAddr, lpSockAddrLen);