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

Comparing deliantra/server/socket/init.C (file contents):
Revision 1.60 by root, Sat Dec 27 01:25:00 2008 UTC vs.
Revision 1.61 by root, Wed Sep 2 16:54:20 2009 UTC

65 socket_ev (this, &client::socket_cb) 65 socket_ev (this, &client::socket_cb)
66{ 66{
67 refcnt_inc (); // the socket is an external reference 67 refcnt_inc (); // the socket is an external reference
68 68
69 mss = 1500 - 52; // 1500 typical ethernet frame, 66 typical tcp header overhead 69 mss = 1500 - 52; // 1500 typical ethernet frame, 66 typical tcp header overhead
70
71 socket_timeout = 16.;
70 72
71 { 73 {
72 struct linger linger_opt; 74 struct linger linger_opt;
73 75
74 linger_opt.l_onoff = 0; 76 linger_opt.l_onoff = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines