Package javax.microedition.io
Interface SocketConnection
- All Superinterfaces:
Connection
,InputConnection
,OutputConnection
,StreamConnection
- All Known Subinterfaces:
SecureConnection
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
int
getPort()
int
getSocketOption
(byte var0) void
setSocketOption
(byte var0, int var1) Methods inherited from interface javax.microedition.io.Connection
close
Methods inherited from interface javax.microedition.io.InputConnection
openDataInputStream, openInputStream
Methods inherited from interface javax.microedition.io.OutputConnection
openDataOutputStream, openOutputStream
-
Field Details
-
DELAY
static final byte DELAY- See Also:
-
KEEPALIVE
static final byte KEEPALIVE- See Also:
-
LINGER
static final byte LINGER- See Also:
-
RCVBUF
static final byte RCVBUF- See Also:
-
SNDBUF
static final byte SNDBUF- See Also:
-
-
Method Details
-
getAddress
- Throws:
IOException
-
getLocalAddress
- Throws:
IOException
-
getLocalPort
- Throws:
IOException
-
getPort
- Throws:
IOException
-
getSocketOption
- Throws:
IOException
-
setSocketOption
- Throws:
IOException
-