--- deliantra/server/socket/lowlevel.C 2007/07/01 05:00:20 1.49 +++ deliantra/server/socket/lowlevel.C 2007/07/28 00:15:18 1.52 @@ -52,7 +52,6 @@ if (!((pticks + fd) & 7) && pl && pl->active) { // check time of last ack, and, if too old, kill connection - struct tcp_info tcpi; socklen_t len = sizeof (tcpi); if (!getsockopt (fd, IPPROTO_TCP, TCP_INFO, &tcpi, &len) && len == sizeof (tcpi)) @@ -60,8 +59,8 @@ if (tcpi.tcpi_snd_mss) mss = tcpi.tcpi_snd_mss; - rtt = tcpi.tcpi_rtt; - rttvar = tcpi.tcpi_rttvar; + //fprintf (stderr, "uack %d sst %d cwnd %d mss %d pmtu %d\n", + // tcpi.tcpi_unacked, tcpi.tcpi_snd_ssthresh, tcpi.tcpi_snd_cwnd, tcpi.tcpi_advmss, tcpi.tcpi_pmtu); if (tcpi.tcpi_last_ack_recv > int (SOCKET_TIMEOUT * 1000)) {