summaryrefslogtreecommitdiff
path: root/include/Socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Socket.h')
-rw-r--r--include/Socket.h1
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);