设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 9123|回复: 16
打印 上一主题 下一主题

求问:为什么调用连接的时候会出现返回码100的错误?

[复制链接]

3

主题

12

帖子

47

积分

新手上路

Rank: 1

积分
47
跳转到指定楼层
楼主
发表于 2015-9-6 16:57:57 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
如题,在我调用登陆方法之前,我要调用anyChatSDK.Connect(ip, port)方法。如果IP活着port不对的情况,会一直循环连接。我的问题是,在我调用这个方法的时候,有的时候一次酒能连接成功然后就可以继续调用登陆方法,但是这个有时候是不确定的,有时候一次,有时候两次,有时候甚至要十几次。请问这会是什么引起的呢?
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

3

主题

57

帖子

759

积分

高级会员

Rank: 4

积分
759
沙发
发表于 2015-9-6 17:25:07 | 只看该作者
您好,返回100是指连接失败,可能原因1.ip或port输入错误;2.网络连接异常。可以把日志文件发上来看看。日志:BRAnyChatCore.log
回复 支持 反对

使用道具 举报

3

主题

12

帖子

47

积分

新手上路

Rank: 1

积分
47
板凳
 楼主| 发表于 2015-9-6 17:39:23 | 只看该作者
陈文仲 发表于 2015-9-6 17:25
您好,返回100是指连接失败,可能原因1.ip或port输入错误;2.网络连接异常。可以把日志文件发上来看看。日 ...

1,如果错误的话,就算一直连接也不应该连上吧,2,网络异常,网络用的局域网
[2015-09-06 17:31:50(466)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2015-09-06 17:31:50(467)]        Load libanychatcore.so success!(V5.2 Build Time:Jan 19 2015 07:04:03)
[2015-09-06 17:31:50(467)]        Android OS SDK Version:21, Support ARMv7:2, Support Neon:4
[2015-09-06 17:31:50(482)]        Load libmediautil_v7.so success!(V5.2 Build Time:Jan 19 2015 07:05:29)
[2015-09-06 17:31:50(490)]        Load libmediashow.so success!(V5.2 Build Time:Jan 19 2015 07:05:09)
[2015-09-06 17:31:50(497)]        Load libmediacore.so success!(V5.2 Build Time:Jan 19 2015 07:05:14)
[2015-09-06 17:31:50(498)]        PLK(HUAWEI
) hi3635  5.0.2
[2015-09-06 17:31:50(501)]        Invoke        BRAC_Connect(192.168.57.74,8906)=0
[2015-09-06 17:31:50(502)]        Invoke        LoginServer(username=wc1)
[2015-09-06 17:31:50(502)]        Invoke        EnterRoom(roomid=1000)
[2015-09-06 17:31:50(504)]        Invoke        BRAC_Connect(192.168.57.74,8906)=0
[2015-09-06 17:31:50(504)]        Invoke        LoginServer(username=wc1)
[2015-09-06 17:31:50(504)]        Invoke        EnterRoom(roomid=1000)
[2015-09-06 17:31:50(576)]        CheckClientSocketLink         Connect(ip=192.168.57.74,port=8906)
[2015-09-06 17:31:50(617)]        Server version: V5.3(Build Time:2015-07-23 20:08:54, Server OS:Windows)
[2015-09-06 17:31:50(659)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-09-06 17:31:50(714)]        Invoke        BRAC_Connect(192.168.57.74,8906)=0
[2015-09-06 17:31:50(714)]        Invoke        LoginServer(username=wc1)
[2015-09-06 17:31:50(714)]        Invoke        EnterRoom(roomid=1000)
[2015-09-06 17:31:51(036)]        Message        OnLoginSystem(userid=20153,errorcode=0,username=ía3¡1), msg deliver worked(0)
[2015-09-06 17:31:51(037)]        Server running time: 0 days, 2 hours, 32 minutes, license mode:0
[2015-09-06 17:31:51(043)]        Invoke        EnterRoom(roomid=1000)
[2015-09-06 17:31:51(047)]        Connection to streaming media server successfully!(udp delay:5ms)
[2015-09-06 17:31:51(149)]        Message        OnEnterRoom(roomid=1000,errorcode=0,siteindex=0)
[2015-09-06 17:31:51(150)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-09-06 17:31:51(151)]        Message        OnReceiveOnlineUser(count=1,roomid=1000)
[2015-09-06 17:32:01(231)]        Message        OnEnterRoom(roomid=1000,errorcode=207,siteindex=-1)
[2015-09-06 17:35:14(007)]        Message        OnUserEnterRoom(userid=20152,nickname=3¬¼¶óû§,siteindex=1)
[2015-09-06 17:35:15(557)]        Message        OnP2PConnectState(userid=20152, state=1)
[2015-09-06 17:35:15(740)]        Message        OnP2PConnectState(userid=20152, state=3)
报错的部分好像没有,我给你一下log打印的吧
09-06 17:39:28.970    9792-9792/com.jsjty.jdc.app I/art﹕ Late-enabling -Xcheck:jni
09-06 17:39:29.370    9792-9792/com.jsjty.jdc.app I/View﹕ ssignParent(ViewParent parent) parent is: android.view.ViewRootImpl@2893b11
09-06 17:39:29.420    9792-9825/com.jsjty.jdc.app I/OpenGLRenderer﹕ Initialized EGL, version 1.4
09-06 17:39:29.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  11.0
09-06 17:39:29.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:29.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  11.0
09-06 17:39:29.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:29.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  15.0
09-06 17:39:29.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
09-06 17:39:30.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  9.0
09-06 17:39:30.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:30.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  12.0
09-06 17:39:30.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:30.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  15.0
09-06 17:39:30.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
09-06 17:39:31.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 1  13.0
09-06 17:39:31.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 57.0  69.0
09-06 17:39:31.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  9.0
09-06 17:39:31.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:31.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  11.0
09-06 17:39:31.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:31.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  15.0
09-06 17:39:31.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
09-06 17:39:31.560    9792-9792/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:31(570)        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
09-06 17:39:31.560    9792-9792/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:31(570)        Load libanychatcore.so success!(V5.2 Build Time:Jan 19 2015 07:04:03)
09-06 17:39:31.560    9792-9792/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:31(571)        Android OS SDK Version:21, Support ARMv7:2, Support Neon:4
09-06 17:39:31.580    9792-9792/com.jsjty.jdc.app W/linker﹕ libmediautil_v7.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
09-06 17:39:31.580    9792-9792/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:31(590)        Load libmediautil_v7.so success!(V5.2 Build Time:Jan 19 2015 07:05:29)
09-06 17:39:31.590    9792-9792/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:31(600)        Load libmediashow.so success!(V5.2 Build Time:Jan 19 2015 07:05:09)
09-06 17:39:31.600    9792-9792/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:31(609)        Load libmediacore.so success!(V5.2 Build Time:Jan 19 2015 07:05:14)
09-06 17:39:31.600    9792-9792/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:31(611)        PLK(HUAWEI
) hi3635  5.0.2
09-06 17:39:31.830    9792-9792/com.jsjty.jdc.app I/View﹕ ssignParent(ViewParent parent) parent is: android.view.ViewRootImpl@380e75d6
09-06 17:39:32.360    9792-9792/com.jsjty.jdc.app I/View﹕ ssignParent(ViewParent parent) parent is: null
09-06 17:39:32.370    9792-9792/com.jsjty.jdc.app I/View﹕ ssignParent(ViewParent parent) parent is: null
09-06 17:39:32.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 1  13.0
09-06 17:39:32.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 57.0  69.0
09-06 17:39:32.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  9.0
09-06 17:39:32.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:32.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  12.0
09-06 17:39:32.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:32.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  14.0
09-06 17:39:32.420    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
09-06 17:39:33.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 1  13.0
09-06 17:39:33.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 57.0  69.0
09-06 17:39:33.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  9.0
09-06 17:39:33.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:33.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  16.0
09-06 17:39:33.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:33.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  14.0
09-06 17:39:33.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
09-06 17:39:33.450    9792-9792/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:33(461)        Invoke        BRAC_Connect(192.168.57.74,8906)=0
09-06 17:39:33.480    9792-9792/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:33(491)        Invoke        LoginServer(username=wc1#866945020379227)
09-06 17:39:33.480    9792-9792/com.jsjty.jdc.app I/View﹕ ssignParent(ViewParent parent) parent is: android.view.ViewRootImpl@20ec66e3
09-06 17:39:33.500    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:33(517)        CheckClientSocketLink         Connect(ip=192.168.57.74,port=8906)
09-06 17:39:33.610    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:33(627)        Message        OnConnect(bSuccess:0, errorcode=100)
09-06 17:39:33.640    9792-9792/com.jsjty.jdc.app I/LoginActivity﹕ [LoginActivity.java:252] - 登录连接不成功!
09-06 17:39:34.440    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 1  13.0
09-06 17:39:34.440    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 57.0  69.0
09-06 17:39:34.440    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  9.0
09-06 17:39:34.440    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:34.440    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  17.0
09-06 17:39:34.440    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:34.440    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  14.0
09-06 17:39:34.440    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
09-06 17:39:35.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 1  13.0
09-06 17:39:35.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 57.0  69.0
09-06 17:39:35.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  9.0
09-06 17:39:35.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:35.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  17.0
09-06 17:39:35.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:35.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  14.0
09-06 17:39:35.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
09-06 17:39:36.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 1  13.0
09-06 17:39:36.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 57.0  69.0
09-06 17:39:36.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  10.0
09-06 17:39:36.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:36.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  19.0
09-06 17:39:36.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:36.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  13.0
09-06 17:39:36.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
09-06 17:39:37.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 1  12.0
09-06 17:39:37.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 57.0  69.0
09-06 17:39:37.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  10.0
09-06 17:39:37.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:37.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  19.0
09-06 17:39:37.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:37.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  13.0
09-06 17:39:37.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
09-06 17:39:38.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 1  12.0
09-06 17:39:38.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 57.0  69.0
09-06 17:39:38.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  10.0
09-06 17:39:38.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:38.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  19.0
09-06 17:39:38.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:38.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  13.0
09-06 17:39:38.450    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
09-06 17:39:38.630    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:38(641)        CheckClientSocketLink         Connect(ip=192.168.57.74,port=8906)
09-06 17:39:38.740    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:38(752)        Message        OnConnect(bSuccess:0, errorcode=100)
09-06 17:39:38.750    9792-9792/com.jsjty.jdc.app I/LoginActivity﹕ [LoginActivity.java:252] - 登录连接不成功!
09-06 17:39:39.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 1  12.0
09-06 17:39:39.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 57.0  69.0
09-06 17:39:39.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  10.0
09-06 17:39:39.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:39.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  19.0
09-06 17:39:39.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:39.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  12.0
09-06 17:39:39.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
09-06 17:39:39.760    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:39(777)        CheckClientSocketLink         Connect(ip=192.168.57.74,port=8906)
09-06 17:39:39.800    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:39(809)        Server version: V5.3(Build Time:2015-07-23 20:08:54, Server OS:Windows)
09-06 17:39:39.840    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:39(851)        Message        OnConnect(bSuccess:1, errorcode=0)
09-06 17:39:39.850    9792-9792/com.jsjty.jdc.app I/LoginActivity﹕ [LoginActivity.java:249] - 登录连接成功!
09-06 17:39:40.130    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:40(144)        Message        OnLoginSystem(userid=20153,errorcode=0,username=�ⳡ1), msg deliver worked(0)
09-06 17:39:40.130    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:40(146)        Server running time: 0 days, 2 hours, 40 minutes, license mode:0
09-06 17:39:40.140    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:40(157)        Connection to streaming media server successfully!(udp delay:5ms)
09-06 17:39:40.180    9792-9792/com.jsjty.jdc.app I/View﹕ ssignParent(ViewParent parent) parent is: null
09-06 17:39:40.190    9792-9792/com.jsjty.jdc.app I/View﹕ ssignParent(ViewParent parent) parent is: null
09-06 17:39:40.190    9792-9792/com.jsjty.jdc.app E/dwUserId:﹕ 20153
09-06 17:39:40.230    9792-9792/com.jsjty.jdc.app I/View﹕ ssignParent(ViewParent parent) parent is: android.view.ViewRootImpl@748e3f
09-06 17:39:40.490    9792-9792/com.jsjty.jdc.app I/FragmentMain﹕ [FragmentMain.java:242] - initSdk
09-06 17:39:40.490    9792-9792/com.jsjty.jdc.app I/FragmentMain﹕ [FragmentMain.java:111] - 连接到服务器......
09-06 17:39:40.490    9792-9792/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:40(499)        Invoke        BRAC_Connect(192.168.57.74,8906)=0
09-06 17:39:40.490    9792-9792/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:40(500)        Invoke        EnterRoom(roomid=1000)
09-06 17:39:40.500    9792-9792/com.jsjty.jdc.app I/FragmentMain﹕ [FragmentMain.java:128] - --------------------------------updateUserInfo----------------------------------
09-06 17:39:40.510    9792-9792/com.jsjty.jdc.app I/View﹕ ssignParent(ViewParent parent) parent is: android.view.ViewRootImpl@1cfa9fbe
09-06 17:39:40.520    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:40(532)        Message        OnEnterRoom(roomid=1000,errorcode=0,siteindex=0)
09-06 17:39:40.520    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:40(533)        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
09-06 17:39:40.550    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:40(564)        Message        OnReceiveOnlineUser(count=2,roomid=1000)
09-06 17:39:40.580    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 1  11.0
09-06 17:39:40.590    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 57.0  69.0
09-06 17:39:40.590    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  11.0
09-06 17:39:40.590    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:40.590    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  19.0
09-06 17:39:40.590    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:40.590    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  12.0
09-06 17:39:40.590    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
09-06 17:39:40.660    9792-9792/com.jsjty.jdc.app I/FragmentMain﹕ [FragmentMain.java:388] - OnAnyChatEnterRoomMessage:  dwRoomId: 1000   dwErrorCode: 0
09-06 17:39:40.660    9792-9792/com.jsjty.jdc.app I/FragmentMain﹕ [FragmentMain.java:218] - -----------------------------[I@3f760e58
09-06 17:39:40.670    9792-9792/com.jsjty.jdc.app I/FragmentMain﹕ [FragmentMain.java:219] - -----------------------------[I@2db31bb1
09-06 17:39:40.670    9792-9792/com.jsjty.jdc.app I/FragmentMain﹕ [FragmentMain.java:128] - --------------------------------updateUserInfo----------------------------------
09-06 17:39:40.670    9792-9792/com.jsjty.jdc.app I/FragmentMain﹕ [FragmentMain.java:135] - GetUserGroups: 5   我的好友
09-06 17:39:40.670    9792-9792/com.jsjty.jdc.app I/FragmentMain﹕ [FragmentMain.java:135] - GetUserGroups: 7   指挥中心
09-06 17:39:40.680    9792-9792/com.jsjty.jdc.app I/FragmentMain﹕ [FragmentMain.java:398] - OnAnyChatOnlineUserMessage: 2   1000
09-06 17:39:40.680    9792-9792/com.jsjty.jdc.app I/FragmentMain﹕ [FragmentMain.java:128] - --------------------------------updateUserInfo----------------------------------
09-06 17:39:40.980    9792-9792/com.jsjty.jdc.app I/View﹕ ssignParent(ViewParent parent) parent is: null
09-06 17:39:40.990    9792-9792/com.jsjty.jdc.app I/View﹕ ssignParent(ViewParent parent) parent is: null
09-06 17:39:41.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 1  11.0
09-06 17:39:41.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 57.0  69.0
09-06 17:39:41.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  11.0
09-06 17:39:41.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:41.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  18.0
09-06 17:39:41.430    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:41.440    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  12.0
09-06 17:39:41.440    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
09-06 17:39:41.550    9792-9861/com.jsjty.jdc.app I/ANYCHAT﹕ 17:39:41(559)        Message        OnP2PConnectState(userid=20152, state=2)
09-06 17:39:41.610    9792-9792/com.jsjty.jdc.app I/BaseActivity﹕ [BaseActivity.java:85] - ----------------------postion---latitude: 32.012507504061375-------longitude: 118.86910771907016
09-06 17:39:41.610    9792-9792/com.jsjty.jdc.app E/BaseActivity﹕ [BaseActivity.java:86] - -----------------------------0
09-06 17:39:42.210    9792-9792/com.jsjty.jdc.app I/View﹕ ssignParent(ViewParent parent) parent is: null
09-06 17:39:42.210    9792-9792/com.jsjty.jdc.app I/View﹕ ssignParent(ViewParent parent) parent is: null
09-06 17:39:42.310    9792-9792/com.jsjty.jdc.app I/FragmentMain﹕ [FragmentMain.java:277] - OnAnyChatTransBufferEx
09-06 17:39:42.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 1  11.0
09-06 17:39:42.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 57.0  69.0
09-06 17:39:42.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 2  11.0
09-06 17:39:42.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 45.0  70.0
09-06 17:39:42.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 7  18.0
09-06 17:39:42.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 75.0  10.0
09-06 17:39:42.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:142] - 30  12.0
09-06 17:39:42.410    9792-9792/com.jsjty.jdc.app I/BackService﹕ [BackService.java:143] - 106.0  10.0
回复 支持 反对

使用道具 举报

地板
发表于 2015-9-6 18:15:33 | 只看该作者
请问运行我们提供的demo程序有没有出现这样的问题呢?
回复 支持 反对

使用道具 举报

3

主题

12

帖子

47

积分

新手上路

Rank: 1

积分
47
5#
 楼主| 发表于 2015-9-7 09:03:17 | 只看该作者
佰锐科技-邵光清 发表于 2015-9-6 18:15
请问运行我们提供的demo程序有没有出现这样的问题呢?

demo 显示连接服务器失败,自动重连中,请稍后。。。。。。
回复 支持 反对

使用道具 举报

6#
发表于 2015-9-7 09:07:23 | 只看该作者
末世蓝风 发表于 2015-9-7 09:03
demo 显示连接服务器失败,自动重连中,请稍后。。。。。。

在这种情况下是一直连不上吗
回复 支持 反对

使用道具 举报

3

主题

12

帖子

47

积分

新手上路

Rank: 1

积分
47
7#
 楼主| 发表于 2015-9-7 09:14:41 | 只看该作者
佰锐科技-李友勤 发表于 2015-9-7 09:07
在这种情况下是一直连不上吗

一直连不上就是服务器的事了,有时候能连,有时候要等一会
回复 支持 反对

使用道具 举报

8#
发表于 2015-9-7 09:17:52 | 只看该作者
末世蓝风 发表于 2015-9-7 09:14
一直连不上就是服务器的事了,有时候能连,有时候要等一会

这种情况的话就要测试网络的稳定性了,看看丢包情况。
回复 支持 反对

使用道具 举报

3

主题

12

帖子

47

积分

新手上路

Rank: 1

积分
47
9#
 楼主| 发表于 2015-9-7 09:19:07 | 只看该作者
末世蓝风 发表于 2015-9-7 09:14
一直连不上就是服务器的事了,有时候能连,有时候要等一会

而且我想在连接失败的情况下,我能不能断开这种连接,总不能如果IP活着port输入错误就无法停止吧
回复 支持 反对

使用道具 举报

3

主题

12

帖子

47

积分

新手上路

Rank: 1

积分
47
10#
 楼主| 发表于 2015-9-7 09:20:20 | 只看该作者
佰锐科技-李友勤 发表于 2015-9-7 09:17
这种情况的话就要测试网络的稳定性了,看看丢包情况。

这种情况跟网络有关,我们这里用的是路由器局域网,应该不会吧!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )  

GMT+8, 2024-11-23 04:48 , Processed in 0.162429 second(s), 22 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表