… | |
… | |
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; |