Frames | No Frames |
Methods which throw type java.net.SocketException | |
@Override | |
@Override | |
@Override | |
@Override | |
int | |
@Override | |
@Override | |
@Override | |
@Override | |
@Override | SSLSocketImpl.void setKeepAlive(boolean on) |
@Override | SSLSocketImpl.void setOOBInline(boolean on) |
@Override | SSLSocketImpl.void setReceiveBufferSize(int size) |
@Override | SSLSocketImpl.void setReuseAddress(boolean reuseAddress) |
@Override | SSLSocketImpl.void setSendBufferSize(int size) |
@Override | SSLSocketImpl.void setSoLinger(boolean on, int linger) |
@Override | SSLSocketImpl.void setSoTimeout(int timeout) |
@Override | SSLSocketImpl.void setTcpNoDelay(boolean on) |
@Override | SSLSocketImpl.void setTrafficClass(int tc) |
Constructors which throw type java.net.SocketException | |
Methods which throw type java.net.SocketException | |
boolean | |
boolean | |
int | |
boolean | |
int | |
int | |
int | |
boolean | |
int | |
void | LocalSocket.setKeepAlive(boolean b) |
void | LocalSocket.setOOBInline(boolean b) |
void | LocalSocket.setReceiveBufferSize(int i) |
void | LocalSocket.setReuseAddress(boolean b) |
void | LocalSocket.setSendBufferSize(int i) |
void | LocalSocket.setSoLinger(boolean b, int i) |
void | LocalSocket.setSoTimeout(int i) |
void | LocalSocket.setTcpNoDelay(boolean b) |
void | LocalSocket.setTrafficClass(int i) |
Methods which throw type java.net.SocketException | |
void | Binds this socket to a particular port and interface
|
void | Connects the socket to a host specified by address and port.
|
void | Creates a new datagram socket
|
Object | PlainDatagramSocketImpl.getOption(int option_id) Retrieves the value of an option on the socket
|
Object | PlainSocketImpl.getOption(int optID) Returns the current setting of the specified option. |
void | Sets the value of an option on the socket
|
void | Sets the specified option on a socket to the passed in object. |
Classes derived from java.net.SocketException | |
class | This exception indicates that an error occurred while attempting to bind
socket to a particular port.
|
class | This exception indicates that an error occurred while attempting to
connect to a remote host. |
class | This exception indicates that there is no TCP/IP route to the requested
host. |
class | This exception signals that an ICMP port unreachable datagram has been
received.
|
Constructors which throw type java.net.SocketException | |
Initializes a new instance of DatagramPacket for
transmitting packets across the network.
| |
Initializes a new instance of DatagramPacket for
transmitting packets across the network.
| |
Initializes a new instance of DatagramSocket that binds to
a random port and every address on the local machine.
| |
DatagramSocket.DatagramSocket(int port) Initializes a new instance of DatagramSocket that binds to
the specified port and every address on the local machine.
| |
Initializes a new instance of DatagramSocket that binds to
the specified local port and address.
| |
Initializes a new instance of DatagramSocket that binds to
the specified local port and address.
| |
Initializes a new instance of Socket object without
connecting to a remote host. |
Methods which throw type java.net.SocketException | |
void | This method binds the socket to the specified local port and address.
|
void | Binds the socket to the given socket address.
|
void | Connects the socket to a host specified by address and port.
|
void | Connects the datagram socket to a specified socket address.
|
void | Creates a new datagram socket.
|
boolean | Checks if SO_BROADCAST is enabled
|
NetworkInterface | Return a network interface by its address
|
NetworkInterface | Returns an network interface by name
|
InetAddress | Returns the interface being used for multicast packets
|
boolean | This method returns the value of the socket level socket option
SO_KEEPALIVE.
|
boolean | Checks if local loopback mode is enabled
|
NetworkInterface | Gets the local network interface which is used to send multicast messages
|
Enumeration | Return an Enumeration of all available network interfaces
|
boolean | Returns the current setting of the SO_OOBINLINE option for this socket
|
Object | SocketOptions.getOption(int optionId) Returns the current setting of the specified option. |
int | This method returns the value of the system level socket option
SO_RCVBUF, which is used by the operating system to tune buffer
sizes for data transfers.
|
int | This method returns the value of the system level socket option
SO_RCVBUF, which is used by the operating system to tune buffer
sizes for data transfers.
|
int | This method returns the value of the system level socket option
SO_RCVBUF, which is used by the operating system to tune buffer
sizes for data transfers.
|
boolean | Checks if SO_REUSEADDR is enabled.
|
boolean | Checks if the SO_REUSEADDR option is enabled
|
boolean | Checks if the SO_REUSEADDR option is enabled
|
int | This method returns the value of the system level socket option
SO_SNDBUF, which is used by the operating system to tune buffer
sizes for data transfers.
|
int | This method returns the value of the system level socket option
SO_SNDBUF, which is used by the operating system to tune buffer
sizes for data transfers.
|
int | Returns the value of the SO_LINGER option on the socket. |
int | Returns the value of the socket's SO_TIMEOUT setting. |
int | Returns the value of the SO_TIMEOUT option on the socket. |
boolean | Tests whether or not the TCP_NODELAY option is set on the socket.
|
int | Returns the current traffic class
|
int | Returns the current traffic class
|
void | DatagramSocket.setBroadcast(boolean enable) Enables/Disables SO_BROADCAST
|
void | Sets the interface to use for sending multicast packets.
|
void | Socket.setKeepAlive(boolean on) This method sets the value for the socket level socket option
SO_KEEPALIVE.
|
void | MulticastSocket.setLoopbackMode(boolean disable) Disable/Enable local loopback of multicast packets. |
void | Sets the local network interface used to send multicast messages
|
void | Socket.setOOBInline(boolean on) Enables/disables the SO_OOBINLINE option
|
void | Sets the specified option on a socket to the passed in object. |
void | DatagramSocket.setReceiveBufferSize(int size) This method sets the value for the system level socket option
SO_RCVBUF to the specified value. |
void | ServerSocket.setReceiveBufferSize(int size) This method sets the value for the system level socket option
SO_RCVBUF to the specified value. |
void | Socket.setReceiveBufferSize(int size) This method sets the value for the system level socket option
SO_RCVBUF to the specified value. |
void | DatagramSocket.setReuseAddress(boolean on) Enables/Disables SO_REUSEADDR.
|
void | ServerSocket.setReuseAddress(boolean on) Enables/Disables the SO_REUSEADDR option
|
void | Socket.setReuseAddress(boolean reuseAddress) Enables/Disables the SO_REUSEADDR option
|
void | DatagramSocket.setSendBufferSize(int size) This method sets the value for the system level socket option
SO_SNDBUF to the specified value. |
void | Socket.setSendBufferSize(int size) This method sets the value for the system level socket option
SO_SNDBUF to the specified value. |
void | Socket.setSoLinger(boolean on, int linger) Sets the value of the SO_LINGER option on the socket. |
void | DatagramSocket.setSoTimeout(int timeout) Sets the value of the socket's SO_TIMEOUT value. |
void | ServerSocket.setSoTimeout(int timeout) Sets the value of SO_TIMEOUT. |
void | Socket.setSoTimeout(int timeout) Sets the value of the SO_TIMEOUT option on the socket. |
void | Socket.setTcpNoDelay(boolean on) Sets the TCP_NODELAY option on the socket.
|
void | DatagramSocket.setTrafficClass(int tc) Sets the traffic class value
|
void | Socket.setTrafficClass(int tc) Sets the traffic class value
|