![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javase
Ace_Yu
这个作者很懒,什么都没留下…
展开
-
获取网卡IP与MAC地址
import java.net.Inet4Address; import java.net.InetAddress; import java.net.InterfaceAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.util.ArrayList; import java.原创 2012-07-12 11:54:45 · 1270 阅读 · 0 评论 -
Working with Multicast Sockets
public static void send() throws IOException { InetAddress ia = InetAddress.getByName("239.12.2.2"); byte[] data = "Here's some multicast data\r\n".getBytes(); int port = 5555; byte ttl = 1转载 2012-09-13 18:17:04 · 623 阅读 · 0 评论