Uses of Class
java.net.DatagramPacket
-
Packages that use DatagramPacket 软件包 描述 java.net 提供实现网络应用程序的类。 -
-
Uses of DatagramPacket in java.net
Methods in java.net with parameters of type DatagramPacket Modifier and Type 方法 描述 protected abstract int
DatagramSocketImpl. peekData(DatagramPacket p)
仔细看看它是从哪里来的。void
DatagramSocket. receive(DatagramPacket p)
从此套接字接收数据报包。protected abstract void
DatagramSocketImpl. receive(DatagramPacket p)
接收数据报包。void
DatagramSocket. send(DatagramPacket p)
从此套接字发送数据报包。protected abstract void
DatagramSocketImpl. send(DatagramPacket p)
发送数据报包。void
MulticastSocket. send(DatagramPacket p, byte ttl)
已过时。使用以下代码或其等价物:...... int ttl = mcastSocket.getTimeToLive(); mcastSocket.setTimeToLive(newttl); mcastSocket.send(P); mcastSocket.setTimeToLive(TTL); ......
-