摘要:
/* * 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(); ... 阅读全文