summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2007-06-17 11:14:17 +0000
committerpixel <pixel>2007-06-17 11:14:17 +0000
commite049a4f28b69f8c2912cb7dcba8ac4901638653f (patch)
treee522d73d2737a79b4de01603639f9d5d1993d55a /include
parent44f709cefdebe26a1e0084debd0652a44ae5b1da (diff)
Adding some useful socket functions.
Diffstat (limited to 'include')
-rw-r--r--include/Socket.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/Socket.h b/include/Socket.h
index 1b77bde..88a4abd 100644
--- a/include/Socket.h
+++ b/include/Socket.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: Socket.h,v 1.19 2007-05-30 11:57:08 pixel Exp $ */
+/* $Id: Socket.h,v 1.20 2007-06-17 11:14:17 pixel Exp $ */
#ifndef __SOCKET_H__
#define __SOCKET_H__
@@ -44,6 +44,9 @@ class Socket : public Handle {
virtual bool CanWrite();
virtual String GetName();
int GetPort();
+ Uint32 GetAddr();
+ int GetDistantPort();
+ Uint32 GetDistantAddr();
void CloseWrite();
void CloseRead();
bool FinalizeConnect();