不是我自己写的,在学Python,所以对源码很感兴趣. 贴出来给同样有兴趣的朋友看看. #!/usr/bin/env python # -*- coding: iso-8859-1 -*- """ping.py ping.py uses the ICMP protocol's mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from a host or gateway. Copyright (C) 2004 - Lars Strand ; This program is free software; you can redistribute it and/or modify it under the terms of the...
#!/usr/bin/env python """ping.py ping.py uses the ICMP protocol's mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from a host or gateway. Copyright (C) 2004 - Lars Strand ; This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at you...
本人菜菜鸟一个,之前听说过源码安装linux什么的,但是找过相关的资料基本都是和通过源码升级安装新内核相关的,之前也试过在vmware下安装的linux里编译并升级过内核。我想问的是我的机器只有xp,能不能通过编译源代码的形式来安装linux?? 请知道的仁兄指点一下,如果觉得这个问题很低级,尽管bs吧,但是小弟是真的想知道答案。先谢过了。