public class UDPActiveSocket extends UDPSocket
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsRev |
static java.net.InetAddress |
localAddress
If this is set it will be used as the address to bind the local socket.
|
static int |
localPort
If this is > 0 it will be used as the local port for binding.
|
Constructor and Description |
---|
UDPActiveSocket(java.lang.String description)
Create the socket.
|
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] b,
int offset,
int length)
Writes the given array to the socket address of the last packet received.
|
available, close, getReceiveBufferSize, read, read, read, readAndWait, write
getInputStream, getName, getOutputStream, getPort, getPortPool, hasError, readCurrent, setError, setInputStream, setOutputStream, setPortPool, setThread, write
public static final java.lang.String cvsRev
public static java.net.InetAddress localAddress
public static int localPort
public UDPActiveSocket(java.lang.String description) throws BadParameterException, java.io.IOException
BadParameterException
java.io.IOException
public void write(byte[] b, int offset, int length) throws java.io.IOException
write
in interface PortInterface
write
in class Port
java.io.IOException
vib.utils.PortInterface#write(byte[], int, int)
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.