Re: problem on socket programming

2009-07-31 Thread Gabriel Genellina
En Fri, 31 Jul 2009 10:43:49 -0300, MalC0de escribió: none of you can't interpret it ? do you have errors like me !? Have you tried Diez B. Roggisch suggestion? : Can you ping and telnet to the port on the desired server? Firewalls can be an issue here. The official doc page for the soc

Re: problem on socket programming

2009-07-31 Thread MalC0de
none of you can't interpret it ? do you have errors like me !? -- http://mail.python.org/mailman/listinfo/python-list

Re: problem on socket programming

2009-07-31 Thread Processor-Dev1l
On Jul 31, 2:37 pm, MalC0de wrote: > no, I disabled my firewall, no problem with even enabled firewall ... > no one can help !? Connection refused... connection was refused by the listening socket, it could also be due to the settings of your service, if it accepts only from localhost to localhos

Re: problem on socket programming

2009-07-31 Thread MRAB
MalC0de wrote: no, I disabled my firewall, no problem with even enabled firewall ... no one can help !? I hope you disconnected your computer from the internet before disabling the firewall... -- http://mail.python.org/mailman/listinfo/python-list

Re: problem on socket programming

2009-07-31 Thread MalC0de
no, I disabled my firewall, no problem with even enabled firewall ... no one can help !? -- http://mail.python.org/mailman/listinfo/python-list

Re: problem on socket programming

2009-07-31 Thread Diez B. Roggisch
MalC0de schrieb: you want to say shall i disable the firewall, there's no specific firewall or IPS/IDS system out there, this is just windows xp firewall Which is a firewall, don't you agree? So it could well be the reason for the problems you see. Diez -- http://mail.python.org/mailman/lis

Re: problem on socket programming

2009-07-31 Thread MalC0de
you want to say shall i disable the firewall, there's no specific firewall or IPS/IDS system out there, this is just windows xp firewall -- http://mail.python.org/mailman/listinfo/python-list

Re: problem on socket programming

2009-07-31 Thread Diez B. Roggisch
MalC0de schrieb: On Jul 31, 12:07 pm, Chris Rebert wrote: On Fri, Jul 31, 2009 at 1:02 AM, MalC0de wrote: now I've been encountered to some errors with this snippet : And these errors are? Provide error messages and full tracebacks. Cheers, Chris --http://blog.rebertia.com these are errors

Re: problem on socket programming

2009-07-31 Thread Diez B. Roggisch
MalC0de schrieb: On Jul 31, 12:07 pm, Chris Rebert wrote: On Fri, Jul 31, 2009 at 1:02 AM, MalC0de wrote: now I've been encountered to some errors with this snippet : And these errors are? Provide error messages and full tracebacks. Cheers, Chris --http://blog.rebertia.com these are errors

Re: problem on socket programming

2009-07-31 Thread Piet van Oostrum
> MalC0de (M) wrote: >M> On Jul 31, 12:07 pm, Chris Rebert wrote: >>> On Fri, Jul 31, 2009 at 1:02 AM, MalC0de wrote: >>> > now I've been encountered to some errors with this snippet : >>> >>> And these errors are? Provide error messages and full tracebacks. >>> >>> Cheers, >>> Chris >>> -

Re: problem on socket programming

2009-07-31 Thread MalC0de
On Jul 31, 12:07 pm, Chris Rebert wrote: > On Fri, Jul 31, 2009 at 1:02 AM, MalC0de wrote: > > now I've been encountered to some errors with this snippet : > > And these errors are? Provide error messages and full tracebacks. > > Cheers, > Chris > --http://blog.rebertia.com these are errors : Tr

Re: problem on socket programming

2009-07-31 Thread Chris Rebert
On Fri, Jul 31, 2009 at 1:02 AM, MalC0de wrote: > now I've been encountered to some errors with this snippet : And these errors are? Provide error messages and full tracebacks. Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list

Re: problem on socket programming

2009-07-31 Thread MalC0de
now I've been encountered to some errors with this snippet : import sys from socket import * serverHost = 'localhost' serverPort = 50007 message = ['Hello network world'] if len(sys.argv) > 1: serverHost = sys.argv[1] if len(sys.argv) > 2: message = sys.argv[2:] sockobj = socket(AF

Re: problem on socket programming

2009-07-31 Thread MalC0de
problem with this code solved in win32, but I didn't test it after solved problem on gnu/linux . -- http://mail.python.org/mailman/listinfo/python-list

Re: problem on socket programming

2009-07-31 Thread Xavier Ho
Whoops, posted to the wrong address yet again. I deserve some punishment. On Fri, Jul 31, 2009 at 5:33 PM, Xavier Ho wrote: > On Fri, Jul 31, 2009 at 5:25 PM, MalC0de wrote: > >> >> while true : >> >> where's the problem, > > > There. =] > (Btw, it's True, not true.) -- http://mail.python

problem on socket programming

2009-07-31 Thread MalC0de
hello there, I'm using Learning Python 3rd edition as my core reference, the book is great. here's some snippet for demonstrating echo-server program, but I can't interpret it in both windows / Gnu linux ... #!/usr/bin/env python from socket import * myHost = '' myPort = 50007 sockobj = socket(AF_