急急急!!TCPclient和server的连接超时。。。
摘要:
写一个TCP协议的套接字编程的时候,和同学的电脑一起,他的做server,我的做client,在他那运行TCPServer.java,我这运行TCPClient.java,但是会出现这个问题:thisException in thread "main" java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Sou 阅读全文
posted @ 2011-08-15 15:41 I am Bug 阅读(917) 评论(1) 推荐(1) 编辑