diff options
Diffstat (limited to 'include/Socket.h')
-rw-r--r-- | include/Socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Socket.h b/include/Socket.h index 9e0f85f..c6402cb 100644 --- a/include/Socket.h +++ b/include/Socket.h @@ -42,6 +42,7 @@ class Socket : public Handle { virtual bool CanRead(); virtual bool CanWrite(); virtual String GetName(); + int GetPort(); private: Socket(int s); |