problem with ping
Simon Foster
simon at uggs.demon.co.uk
Thu Aug 1 19:47:49 EDT 2002
On Thu, 1 Aug 2002 15:26:53 +0200, "Alain Meurant"
<alain.meurant at skynet.be> wrote:
>Hello
>
>my english is poor, sorry
>i try to use ping.py module by Jeremy Hylton over ipadress 193.95.27.74
>when i ping this adress it works good, but when i use with the ping module,
>i
>have an error
>
Try this change in inet.py, line 37:
def mks(h):
# return struct.pack('h', h)
return struct.pack('H', h)
but then it won't work on Unix :-)
--
Simon Foster
Somewhere in the West of England
More information about the Python-list
mailing list