| 189 | } |
| 190 | |
| 191 | static void usage(const char* progname) |
| 192 | { |
| 193 | printf("usage: %s [-h help] -s [sync] -d delay -t [use thread mode] [-n npkt] [\"dest1 dest2 dest3...\"]\r\n", progname); |
| 194 | printf("example: %s -n 10 www.sina.com.cn www.baidu.com www.qq.com\r\n", progname); |
| 195 | printf("example: %s -s -n 10 www.sina.com.cn\r\n", progname); |
| 196 | #ifdef WIN32 |
| 197 | printf("please enter any key to exit\r\n"); |
| 198 | getchar(); |
| 199 | #endif |
| 200 | } |
| 201 | |
| 202 | /* ���յ� SIGINT �ź�(���� PING �������û����� ctrl + c)ʱ���źŴ������� */ |
| 203 | static void OnSigInt(int signo acl_unused) |
no outgoing calls
no test coverage detected
searching dependent graphs…