![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
网络编程
文章平均质量分 85
邪灵殇
保持谦逊,坚持努力
展开
-
基于UDP协议的网络编程
基于UDP协议的网络编程不分客户端与服务器端基于UDP协议的一端public class UDPDemo1 { public static void main(String[] args) throws IOException { DatagramSocket socket = new DatagramSocket(); BufferedReader ...原创 2019-09-03 15:51:53 · 232 阅读 · 0 评论 -
URL编程
URL网络资源下载public class URLCode { public static void dowlode(String resouce,String fileName,String path) throws IOException { URL url = new URL(resouce); InputStream inputStream = u...原创 2019-09-03 15:55:50 · 47 阅读 · 0 评论