… | |
… | |
59 | "Coro::Event 2.1" \ |
59 | "Coro::Event 2.1" \ |
60 | "Crossfire 0.99" \ |
60 | "Crossfire 0.99" \ |
61 | "Digest::MD5 2.0" \ |
61 | "Digest::MD5 2.0" \ |
62 | "Event 1.08" \ |
62 | "Event 1.08" \ |
63 | "IO::AIO 2.4" \ |
63 | "IO::AIO 2.4" \ |
64 | "JSON::XS 1.21" \ |
64 | "JSON::XS 1.4" \ |
65 | "Pod::POM 0.17" \ |
65 | "Pod::POM 0.17" \ |
66 | "Safe::Hole 0.10" \ |
66 | "Safe::Hole 0.10" \ |
67 | "Storable 2.0" \ |
67 | "Storable 2.0" \ |
68 | "Time::HiRes 1.0" \ |
68 | "Time::HiRes 1.0" \ |
69 | "YAML::Syck 0.71" \ |
69 | "YAML::Syck 0.71" \ |
… | |
… | |
177 | int fd; |
177 | int fd; |
178 | struct tcp_info tcpi; |
178 | struct tcp_info tcpi; |
179 | socklen_t len = sizeof (tcpi); |
179 | socklen_t len = sizeof (tcpi); |
180 | getsockopt (fd, IPPROTO_TCP, TCP_INFO, &tcpi, &len); |
180 | getsockopt (fd, IPPROTO_TCP, TCP_INFO, &tcpi, &len); |
181 | fd = 0 |
181 | fd = 0 |
|
|
182 | + tcpi.tcpi_snd_mss |
182 | + tcpi.tcpi_rtt |
183 | + tcpi.tcpi_rtt |
183 | + tcpi.tcpi_rttvar |
184 | + tcpi.tcpi_rttvar |
184 | + tcpi.tcpi_last_ack_recv |
185 | + tcpi.tcpi_last_ack_recv |
185 | + tcpi.tcpi_last_data_sent |
186 | + tcpi.tcpi_last_data_sent |
186 | + tcpi.tcpi_unacked; |
187 | + tcpi.tcpi_unacked; |