problem on socket programming

Piet van Oostrum piet at cs.uu.nl
Fri Jul 31 06:01:09 EDT 2009


>>>>> MalC0de <malc0de.encrypt at gmail.com> (M) wrote:

>M> On Jul 31, 12:07 pm, Chris Rebert <c... at rebertia.com> wrote:
>>> On Fri, Jul 31, 2009 at 1:02 AM, MalC0de<malc0de.encr... at gmail.com> 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

>M> these are errors :

>M> Traceback (most recent call last):
>M>   File "echo-client.py", line 11, in <module
>M>     sockobj.connect((serverHost,serverPort))
>M>   File "<string>", line 1, in connect
>M> socket.error: (10061, 'Connection refused')

Is your server running?
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org



More information about the Python-list mailing list