summaryrefslogtreecommitdiff
path: root/Bus/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:05:52 +0000
committerfcolin2007-02-01 13:05:52 +0000
commit8e412d4e7c04a178bc1e5dcbd44742d97df87f1f (patch)
tree65278d7cb4c0ff345e21e7773b0a743dc14ce2fe /Bus/Ivy
parent80fba06998c99d0e1e717dfc3a6911fb82a8a118 (diff)
downloadivy-cplusplus-8e412d4e7c04a178bc1e5dcbd44742d97df87f1f.zip
ivy-cplusplus-8e412d4e7c04a178bc1e5dcbd44742d97df87f1f.tar.gz
ivy-cplusplus-8e412d4e7c04a178bc1e5dcbd44742d97df87f1f.tar.bz2
ivy-cplusplus-8e412d4e7c04a178bc1e5dcbd44742d97df87f1f.tar.xz
Utilisateur : Fcolin Date : 25/10/01 Heure : 18:39 Archivé dans $/Ivy (vss 8)
Diffstat (limited to 'Bus/Ivy')
-rw-r--r--Bus/Ivy/ThreadedSocket.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Bus/Ivy/ThreadedSocket.h b/Bus/Ivy/ThreadedSocket.h
index 1827c52..9771f10 100644
--- a/Bus/Ivy/ThreadedSocket.h
+++ b/Bus/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);