diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-12 18:31:52 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-12 18:31:52 +0000 |
commit | 4d6d3859d208d5576e7149de9a0a5576b7cf5153 (patch) | |
tree | d6df51411f0c6bb1e260b784a40f9823946de724 /docs/man/man3/SocketEngine.3 | |
parent | 3a2679d0e4c41c326cecdcd2f847bdcc4f2681ca (diff) |
Added extra documentation for InspSocket (at last)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2356 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/man/man3/SocketEngine.3')
-rw-r--r-- | docs/man/man3/SocketEngine.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/man/man3/SocketEngine.3 b/docs/man/man3/SocketEngine.3 index 299dff3f4..232d8f8cd 100644 --- a/docs/man/man3/SocketEngine.3 +++ b/docs/man/man3/SocketEngine.3 @@ -287,7 +287,7 @@ References DEBUG, EngineHandle, fds, ke_list, ref, ts, and X_READBIT. 164 165 } 166 tval.tv_sec = 0; -167 tval.tv_usec = 1000L; +167 tval.tv_usec = 100L; 168 sresult = select(FD_SETSIZE, &rfdset, &wfdset, NULL, &tval); 169 if (sresult > 0) 170 { @@ -302,14 +302,14 @@ References DEBUG, EngineHandle, fds, ke_list, ref, ts, and X_READBIT. 179 } 180 #endif 181 #ifdef USE_KQUEUE -182 ts.tv_nsec = 1000L; +182 ts.tv_nsec = 10000L; 183 ts.tv_sec = 0; 184 int i = kevent(EngineHandle, NULL, 0, &ke_list[0], 65535, &ts); 185 for (int j = 0; j < i; j++) 186 fdlist.push_back(ke_list[j].ident); 187 #endif 188 #ifdef USE_EPOLL -189 int i = epoll_wait(EngineHandle, events, 65535, 1); +189 int i = epoll_wait(EngineHandle, events, 65535, 100); 190 for (int j = 0; j < i; j++) 191 fdlist.push_back(events[j].data.fd); 192 #endif |