summaryrefslogtreecommitdiff
path: root/src/SocketCore.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-11-28 00:10:32 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-11-28 00:10:32 +0900
commit438f95abaeb34a47a681825ef48775321333acc6 (patch)
treed9767ba6676b38af6f1e3b90924f0b33b355fb5f /src/SocketCore.h
parente1c03e30dd452f8e7e0a76c74733299bde38b41f (diff)
Made socket non-blocking mode in SocketCore::acceptConnection()
Diffstat (limited to 'src/SocketCore.h')
-rw-r--r--src/SocketCore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SocketCore.h b/src/SocketCore.h
index 41dd5593..5efea0ce 100644
--- a/src/SocketCore.h
+++ b/src/SocketCore.h
@@ -195,9 +195,9 @@ public:
/**
* Accepts incoming connection on this socket.
* You must call beginListen() before calling this method.
- * @return accepted socket. The caller must delete it after using it.
+ * @return accepted socket.
*/
- SocketCore* acceptConnection() const;
+ SharedHandle<SocketCore> acceptConnection() const;
/**
* Connects to the server named host and the destination port is port.