shortened poll() timeout.

This commit is contained in:
crs 2002-06-02 23:07:57 +00:00
parent ad15393732
commit ddbb465540
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ ISocket* CTCPListenSocket::accept()
pfds[0].events = CNetwork::kPOLLIN;
for (;;) {
CThread::testCancel();
const int status = CNetwork::poll(pfds, 1, 50);
const int status = CNetwork::poll(pfds, 1, 10);
if (status > 0 && (pfds[0].revents & CNetwork::kPOLLIN) != 0) {
CNetwork::Address addr;
CNetwork::AddressLength addrlen = sizeof(addr);