Parent Directory
|
Revision Log
|
Patch
| Revision 1.31 by sysadm, Sun May 11 02:42:38 2025 UTC | Revision 1.32 by sysadm, Sun May 11 04:09:08 2025 UTC | |
|---|---|---|
| # | Line 303 int bbsnet_connect(int n) | Line 303 int bbsnet_connect(int n) |
| 303 | timeout.tv_sec = 0; | timeout.tv_sec = 0; |
| 304 | timeout.tv_usec = 100 * 1000; // 0.1 second | timeout.tv_usec = 100 * 1000; // 0.1 second |
| 305 | ||
| 306 | ret = select(FD_SETSIZE, &read_fds, NULL, NULL, &timeout); | ret = select(sock + 1, &read_fds, NULL, NULL, &timeout); |
| 307 | ||
| 308 | if (ret == 0) // timeout | if (ret == 0) // timeout |
| 309 | { | { |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |