public interface SocketConnection extends StreamConnection
Modifier and Type | Field and Description |
---|---|
static byte |
DELAY |
static byte |
KEEPALIVE |
static byte |
LINGER |
static byte |
RCVBUF |
static byte |
SNDBUF |
Modifier and Type | Method and Description |
---|---|
String |
getAddress() |
String |
getLocalAddress() |
int |
getLocalPort() |
int |
getPort() |
int |
getSocketOption(byte var0) |
void |
setSocketOption(byte var0,
int var1) |
openDataInputStream, openInputStream
openDataOutputStream, openOutputStream
close
static final byte DELAY
static final byte KEEPALIVE
static final byte LINGER
static final byte RCVBUF
static final byte SNDBUF
String getAddress() throws IOException
IOException
String getLocalAddress() throws IOException
IOException
int getLocalPort() throws IOException
IOException
int getPort() throws IOException
IOException
int getSocketOption(byte var0) throws IOException
IOException
void setSocketOption(byte var0, int var1) throws IOException
IOException