summaryrefslogtreecommitdiff
path: root/include/Socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Socket.h')
-rw-r--r--include/Socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Socket.h b/include/Socket.h
index b8ea05e..45dfa2b 100644
--- a/include/Socket.h
+++ b/include/Socket.h
@@ -12,8 +12,8 @@ class Socket : public Handle {
public:
Socket() throw (GeneralException);
virtual ~Socket() {}
- bool SetLocal(String, int = 0);
- bool Connect(String, int);
+ bool SetLocal(const String &, int = 0);
+ bool Connect(const String &, int);
bool Listen();
Socket Accept() throw (GeneralException);
bool IsConnected();