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.42 by root, Mon Apr 2 18:54:00 2007 UTC vs.
Revision 1.43 by root, Mon Apr 2 18:55:22 2007 UTC

61 cmd_ev (this, &client::cmd_cb), 61 cmd_ev (this, &client::cmd_cb),
62 cc_inv (this), cc_other (this) 62 cc_inv (this), cc_other (this)
63{ 63{
64 refcnt_inc (); // the socket is an external reference 64 refcnt_inc (); // the socket is an external reference
65 65
66 mss = 1500 - 66; // 1500 typical ethernet frame, 66 typical tcp header overhead 66 mss = 1500 - 52; // 1500 typical ethernet frame, 66 typical tcp header overhead
67 67
68 { 68 {
69 struct linger linger_opt; 69 struct linger linger_opt;
70 70
71 linger_opt.l_onoff = 0; 71 linger_opt.l_onoff = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines