public static class Networking.UDPOutputStream
extends java.io.OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected java.net.DatagramSocket |
ds |
protected java.net.InetAddress |
host |
protected java.net.DatagramPacket |
p |
protected int |
port |
| Constructor and Description |
|---|
Networking.UDPOutputStream(java.net.DatagramSocket ds,
java.net.InetAddress host,
int port) |
protected java.net.DatagramPacket p
protected java.net.DatagramSocket ds
protected java.net.InetAddress host
protected int port
public Networking.UDPOutputStream(java.net.DatagramSocket ds,
java.net.InetAddress host,
int port)
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException