From e049a4f28b69f8c2912cb7dcba8ac4901638653f Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 17 Jun 2007 11:14:17 +0000 Subject: Adding some useful socket functions. --- include/Socket.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/Socket.h') 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(); -- cgit v1.2.3