summaryrefslogtreecommitdiff
path: root/src/SocketCore.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-11-28 00:15:03 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-11-28 00:15:03 +0900
commite781e6eac1e3f45c143d9db303bf394a17191ba2 (patch)
tree8837c39397312c8e89941eb72ba066ba6a8d0bda /src/SocketCore.cc
parent438f95abaeb34a47a681825ef48775321333acc6 (diff)
Made socket non-blocking mode in SocketCore::beginListen()
Diffstat (limited to 'src/SocketCore.cc')
-rw-r--r--src/SocketCore.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SocketCore.cc b/src/SocketCore.cc
index 1c65a733..9edd2c41 100644
--- a/src/SocketCore.cc
+++ b/src/SocketCore.cc
@@ -353,6 +353,7 @@ void SocketCore::beginListen()
int errNum = SOCKET_ERRNO;
throw DL_ABORT_EX(fmt(EX_SOCKET_LISTEN, errorMsg(errNum).c_str()));
}
+ setNonBlockingMode();
}
SharedHandle<SocketCore> SocketCore::acceptConnection() const