摘要: 案例需求 UDP发送数据:数据来自于键盘录入,直到输入的数据是886,发送数据结束 UDP接收数据:因为接收端不知道发送端什么时候停止发送,故采用死循环接收 发送端: public class UDP_SendDemo { public static void main(String[] args) 阅读全文
posted @ 2020-12-26 19:15 刘老中医写代码 阅读(83) 评论(0) 推荐(0) 编辑