ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/lowlevel.C
(Generate patch)

Comparing deliantra/server/socket/lowlevel.C (file contents):
Revision 1.43 by root, Sat Jun 9 22:54:04 2007 UTC vs.
Revision 1.44 by root, Sat Jun 9 22:54:28 2007 UTC

57client::flush () 57client::flush ()
58{ 58{
59 if (destroyed ()) 59 if (destroyed ())
60 return; 60 return;
61 61
62#ifdef __linux__ 62#ifdef __linux__ //TODO: this is available on bsds, too, use a configure test.
63 // check about once per second, spread evenly over all clients 63 // check about once per second, spread evenly over all clients
64 if (!((pticks + fd) & 7)) 64 if (!((pticks + fd) & 7))
65 { 65 {
66 // check time of last ack, and, if too old, kill connection 66 // check time of last ack, and, if too old, kill connection
67 struct tcp_info tcpi; 67 struct tcp_info tcpi;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines