Uses of Class java.net.SocketException

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.net.SocketException

Packages that use SocketException
java.net | Provides the classes for implementing networking applications.
org.dvb.net | Provides general networking features not found elsewhere.

Uses of SocketException in java.net

Subclasses of SocketException in java.net
`class` | `BindException` Signals that an error occurred while attempting to bind a socket to a local address and port.
`class` | `ConnectException` Signals that an error occurred while attempting to connect a socket to a remote address and port.
`class` | `NoRouteToHostException` Signals that an error occurred while attempting to connect a socket to a remote address and port.
`class` | `PortUnreachableException` Signals that an ICMP Port Unreachable message has been received on a connected datagram.

Methods in java.net that throw SocketException
`void` | `DatagramSocket.bind(SocketAddress addr)` Binds this DatagramSocket to a specific address & port.
`void` | `DatagramSocket.connect(SocketAddress addr)` Connects this socket to a remote socket address (IP address + port number).
`boolean` | `DatagramSocket.getBroadcast()` Tests if SO_BROADCAST is enabled.
`static NetworkInterface` | `NetworkInterface.getByInetAddress(InetAddress addr)` Convenience method to search for a network interface that has the specified Internet Protocol (IP) address bound to it.
`static NetworkInterface` | `NetworkInterface.getByName(String name)` Searches for the network interface with the specified name.
`InetAddress` | `MulticastSocket.getInterface()` Retrieve the address of the network interface used for multicast packets.
`boolean` | `Socket.getKeepAlive()` Tests if SO_KEEPALIVE is enabled.
`boolean` | `MulticastSocket.getLoopbackMode()` Get the setting for local loopback of multicast datagrams.
`NetworkInterface` | `MulticastSocket.getNetworkInterface()` Get the multicast network interface set.
`static Enumeration` | `NetworkInterface.getNetworkInterfaces()` Returns all the interfaces on this machine.
`boolean` | `Socket.getOOBInline()` Tests if OOBINLINE is enabled.
`Object` | `SocketOptions.getOption(int optID)` Fetch the value of an option.
`int` | `Socket.getReceiveBufferSize()` Gets the value of the SO_RCVBUF option for this `Socket`, that is the buffer size used by the platform for input on this `Socket`.
`int` | `ServerSocket.getReceiveBufferSize()` Gets the value of the SO_RCVBUF option for this `ServerSocket`, that is the proposed buffer size that will be used for Sockets accepted from this `ServerSocket`.
`int` | `DatagramSocket.getReceiveBufferSize()` Get value of the SO_RCVBUF option for this `DatagramSocket`, that is the buffer size used by the platform for input on this `DatagramSocket`.
`boolean` | `Socket.getReuseAddress()` Tests if SO_REUSEADDR is enabled.
`boolean` | `ServerSocket.getReuseAddress()` Tests if SO_REUSEADDR is enabled.
`boolean` | `DatagramSocket.getReuseAddress()` Tests if SO_REUSEADDR is enabled.
`int` | `Socket.getSendBufferSize()` Get value of the SO_SNDBUF option for this `Socket`, that is the buffer size used by the platform for output on this `Socket`.
`int` | `DatagramSocket.getSendBufferSize()` Get value of the SO_SNDBUF option for this `DatagramSocket`, that is the buffer size used by the platform for output on this `DatagramSocket`.
`int` | `Socket.getSoLinger()` Returns setting for SO_LINGER.
`int` | `Socket.getSoTimeout()` Returns setting for SO_TIMEOUT.
`int` | `DatagramSocket.getSoTimeout()` Retrive setting for SO_TIMEOUT.
`boolean` | `Socket.getTcpNoDelay()` Tests if TCP_NODELAY is enabled.
`int` | `Socket.getTrafficClass()` Gets traffic class or type-of-service in the IP header for packets sent from this Socket
`int` | `DatagramSocket.getTrafficClass()` Gets traffic class or type-of-service in the IP datagram header for packets sent from this DatagramSocket.
`void` | `DatagramSocket.setBroadcast(boolean on)` Enable/disable SO_BROADCAST.
`void` | `MulticastSocket.setInterface(InetAddress inf)` Set the multicast network interface used by methods whose behavior would be affected by the value of the network interface.
`void` | `Socket.setKeepAlive(boolean on)` Enable/disable SO_KEEPALIVE.
`void` | `MulticastSocket.setLoopbackMode(boolean disable)` Disable/Enable local loopback of multicast datagrams The option is used by the platform's networking code as a hint for setting whether multicast data will be looped back to the local socket.
`void` | `MulticastSocket.setNetworkInterface(NetworkInterface netIf)` Specify the network interface for outgoing multicast datagrams sent on this socket.
`void` | `Socket.setOOBInline(boolean on)` Enable/disable OOBINLINE (receipt of TCP urgent data) By default, this option is disabled and TCP urgent data received on a socket is silently discarded.
`void` | `SocketOptions.setOption(int optID, Object value)` Enable/disable the option specified by optID.
`void` | `Socket.setReceiveBufferSize(int size)` Sets the SO_RCVBUF option to the specified value for this `Socket`.
`void` | `ServerSocket.setReceiveBufferSize(int size)` Sets a default proposed value for the SO_RCVBUF option for sockets accepted from this `ServerSocket`.
`void` | `DatagramSocket.setReceiveBufferSize(int size)` Sets the SO_RCVBUF option to the specified value for this `DatagramSocket`.
`void` | `Socket.setReuseAddress(boolean on)` Enable/disable the SO_REUSEADDR socket option.
`void` | `ServerSocket.setReuseAddress(boolean on)` Enable/disable the SO_REUSEADDR socket option.
`void` | `DatagramSocket.setReuseAddress(boolean on)` Enable/disable the SO_REUSEADDR socket option.
`void` | `Socket.setSendBufferSize(int size)` Sets the SO_SNDBUF option to the specified value for this `Socket`.
`void` | `DatagramSocket.setSendBufferSize(int size)` Sets the SO_SNDBUF option to the specified value for this `DatagramSocket`.
`void` | `Socket.setSoLinger(boolean on, int linger)` Enable/disable SO_LINGER with the specified linger time in seconds.
`void` | `Socket.setSoTimeout(int timeout)` Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds.
`void` | `ServerSocket.setSoTimeout(int timeout)` Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds.
`void` | `DatagramSocket.setSoTimeout(int timeout)` Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds.
`void` | `Socket.setTcpNoDelay(boolean on)` Enable/disable TCP_NODELAY (disable/enable Nagle's algorithm).
`void` | `Socket.setTrafficClass(int tc)` Sets traffic class or type-of-service octet in the IP header for packets sent from this Socket.
`void` | `DatagramSocket.setTrafficClass(int tc)` Sets traffic class or type-of-service octet in the IP datagram header for datagrams sent from this DatagramSocket.

Constructors in java.net that throw SocketException
`DatagramPacket(byte[] buf, int offset, int length, SocketAddress address)` Constructs a datagram packet for sending packets of length `length` with offset `ioffset`to the specified port number on the specified host.
`DatagramPacket(byte[] buf, int length, SocketAddress address)` Constructs a datagram packet for sending packets of length `length` to the specified port number on the specified host.
`DatagramSocket()` Constructs a datagram socket and binds it to any available port on the local host machine.
`DatagramSocket(int port)` Constructs a datagram socket and binds it to the specified port on the local host machine.
`DatagramSocket(int port, InetAddress laddr)` Creates a datagram socket, bound to the specified local address.
`DatagramSocket(SocketAddress bindaddr)` Creates a datagram socket, bound to the specified local socket address.

Uses of SocketException in org.dvb.net

Methods in org.dvb.net that throw SocketException
`static int` | `DatagramSocketBufferControl.getReceiveBufferSize(DatagramSocket d)` Get value of the SO_RCVBUF option for this socket, that is the buffer size used by the platform for input on the this Socket.
`static void` | `DatagramSocketBufferControl.setReceiveBufferSize(DatagramSocket d, int size)` Sets the SO_RCVBUF option to the specified value for this DatagramSocket.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES