摘要: /* * java socket send and receice demo * @author:luowen * @time:2013-11-1 * */import java.net.*;class SocketSend{ public static void main(String[] args)throws Exception { //创建socket服务 DatagramSocket ds = new DatagramSocket(); byte[] buf = "yes iam demo".getBytes(); ... 阅读全文
posted @ 2013-11-02 09:29 arvim 阅读(905) 评论(0) 推荐(0) 编辑