摘要: UDP的一段程序,本身很简单的,但是本机测试一切没问题的情况下,发布到公网的服务器(linux)上就绑定不了ip地址,报java.net.BindException: Cannot assign requested address: Cannot bind错误。代码如下:socketAddress = new InetSocketAddress(serverHost, serverPort);ds... 阅读全文
posted @ 2010-11-16 13:16 hyy 阅读(2580) 评论(0) 推荐(0) 编辑