|
|

楼主 |
发表于 2005-10-19 15:04:12
|
显示全部楼层
是公司内网,但我们访问外网不需要另设代理。
我telnet到一个32位i686的机器上编译运行就没有问题,这两台机器的网关和路由是一样的。
那台机器装的是:
Red Hat Enterprise Linux WS release 3 (Taroon)
Kernel 2.4.21-4.ELsmp on an i686
而且我在terminal里面直接 telnet tcpconn2.tencent.com 80,显示我是可以连接的,说明网络方面应该没什么问题。
我猜应该是编译openq生成的库文件的问题,可能是32位机和64位机在登录的时候是发送的字节位数有差别。不过我对编程不熟,找不到问题具体在哪。
------------------------------------------------------
今天用debug模式运行gaim,抓了一下log,不知道有没有用
32位机器上正常登录的log:
(14:54:01) server: gaim 1.5.0 logging in xxxxxxx using QQ
(14:54:01) dns: Created new DNS child 25608, there are now 1 children.
(14:54:01) dns: Host 'tcpconn2.tencent.com' resolved
(14:54:01) proxy: Connecting to tcpconn2.tencent.com:80 with no proxy
(14:54:01) proxy: Connect would have blocked.
(14:54:01) proxy: Connected.
(14:54:01) QQ: ==> [13077] QQ_CMD_LOGIN, from (QQ Server 0100)
(14:54:01) QQ: ack [13077] QQ_CMD_LOGIN, remove from sendqueue
(14:54:01) QQ: Decrypt login reply packet with inikey, 11 bytes
(14:54:01) QQ: Redirected to new server: 219.133.49.6:80
64位机器上显示的log
(14:53:38) server: gaim 1.5.0 logging in xxxxxxx using QQ
(14:53:38) dns: Created new DNS child 16132, there are now 1 children.
(14:53:39) dns: Host 'tcpconn2.tencent.com' resolved
(14:53:39) proxy: Connecting to tcpconn2.tencent.com:80 with no proxy
(14:53:39) proxy: Connect would have blocked.
(14:53:39) proxy: Connected.
(14:53:43) accounts: Writing accounts to disk.
(14:53:49) QQ: <<< [31180] send again for 1 times!
(14:53:54) QQ: <<< [31180] send again for 2 times!
(14:53:59) QQ: <<< [31180] send again for 3 times!
(14:54:04) QQ: <<< [31180] send again for 4 times!
(14:54:09) QQ: <<< [31180] send again for 5 times!
(14:54:14) account: Disconnecting account
(14:54:14) connection: Disconnecting connection |
|