ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-tutor
python-tutor
Re: [Tutor] Python ICMP
by Modulok other posts by this author
Nov 6 2009 1:01PM messages near this date
Re: [Tutor] Python ICMP | [Tutor] problem importing the PIL and cPickle module
[snip]
...
(code from OP)
...
[/snip]

>  However, there is one small problem. It works on Windows, but not on Linux.
>  When I run this on Linux, the host sends the requests but never gets a
>  response. Not one. I've compared the output from both hosts in Wireshark and
>  the only difference I see is the identification field in the IP header.
>  Packets frmo Linux show 0 but packets from Windows have an incrementing
>  number.
> 
>  I'd like to have this working on both. I prefer this code since it's pure
>  Python, doesn't shell out (popen) and I can call/import it into another
>  program.
> 
>  Any ideas?

I haven't read through the code, but something you might try if you
haven't already just to rule out other potential problems:

- Try to use the system command ping(8) from a command shell like bash
or tcsh, as the the same userID as your program will be running at:

   (tcsh shell prompt)>  ping -c 3 www.google.com

If that doesn't get a response, you likely have a firewall issue.

Just a thought.
-Modulok-
_______________________________________________
Tutor maillist  -  Tutor@[...].org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Thread:
Chris Hallman
Taylan Karaoglu
Modulok

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved