Python论坛  - 讨论区

标题:[python-chinese] 请教:s.connect( )的错误

2004年08月11日 星期三 01:11

杨元杰 feynman1983 at 163.com
Wed Aug 11 01:11:39 HKT 2004


>>>s=socket(AF_INET, SOCK_STREAM)
>>>s.connect((serverHost, serverPort))

出现错误信息:socket.error: (10060, 'Operation timed out')

这是什么原因造成的?
盼答!!



-------------------------------------------------------------------------------------
15寸液晶双子星,震天雷II--D451¥2466/D353¥2399 http://design.163.com/aocmonitor/index.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2004年08月11日 星期三 08:14

0.706 0.706 at 163.com
Wed Aug 11 08:14:58 HKT 2004

杨元杰,您好!

	是不是对方有防火墙?

======= 2004-08-11 01:11:39 您在来信中写道:=======

>
>
>>>>s=socket(AF_INET, SOCK_STREAM)
>>>>s.connect((serverHost, serverPort))
>
>出现错误信息:socket.error: (10060, 'Operation timed out')
>
>这是什么原因造成的?
>盼答!!
>
>
>
>-------------------------------------------------------------------------------------
>15寸液晶双子星,震天雷II--D451¥2466/D353¥2399 http://design.163.com/aocmonitor/index.html_______________________________________________
>python-chinese list
>python-chinese at lists.python.cn
>http://python.cn/mailman/listinfo/python-chinese
>

= = = = = = = = = = = = = = = = = = = =
			

        致
礼!
 
				 
        0.706
        0.706 at 163.com
          2004-08-11


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号