Java开发网 |
注册 |
登录 |
帮助 |
搜索 |
排行榜 |
发帖统计
|
您没有登录 |
» Java开发网 » Java SE 综合讨论区
打印话题 寄给朋友 订阅主题 |
作者 | Re:Good Example. Plz, give me one point [Re:jam] |
jam
发贴: 79 积分: 30 |
于 2003-04-15 13:54
Does the Remote A just only permit port 6000 to "send" and "receive", Remote B port 7000, Remote C port 8000, Remote port 9000 and Client permit port 9999 is correct? Can it work ? Using int localport = 9999; //remote port 6000, 7000, 8000, 9000 InetAddress local = InetAddress.getByName(null); Socket socket = new Socket(remotehost, remoteport, local, localport);
jam edited on 2003-04-15 13:59
我有一点感想和初学者们同享(原创) |
话题树型展开 |
已读帖子 新的帖子 被删除的帖子 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |