problem with ping

Simon Foster simon at
Fri Aug 2 01:47:49 CEST 2002

On Thu, 1 Aug 2002 15:26:53 +0200, "Alain Meurant"
<alain.meurant at> wrote:

>my english is poor, sorry
>i try to use module by Jeremy Hylton over ipadress
>when i ping this adress it works good, but when i use with the ping module,
>have an error

Try this change in, 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