diff options
Diffstat (limited to 'Ivy/ThreadedSocket.h')
-rw-r--r-- | Ivy/ThreadedSocket.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Ivy/ThreadedSocket.h b/Ivy/ThreadedSocket.h index ad33c3e..7c22efd 100644 --- a/Ivy/ThreadedSocket.h +++ b/Ivy/ThreadedSocket.h @@ -56,6 +56,10 @@ public: size_t SendTo(const void* lpBuf, size_t nBufLen,
unsigned int nHostPort, const char * lpszHostAddress = 0, int nFlags = 0);
+ unsigned short int GetLocalPort();
+
+ unsigned short int GetRemotePort();
+
inline int GetPeerName(SOCKADDR* lpSockAddr, int* lpSockAddrLen)
{
|