Searched refs:localAddr (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DDatagramSocket.java384 * by the {@code SocketAddress} {@code localAddr} or an unbound {@code
387 * @param localAddr
394 public DatagramSocket(SocketAddress localAddr) throws SocketException { argument
395 if (localAddr != null) {
396 if (!(localAddr instanceof InetSocketAddress)) {
398 localAddr.getClass());
400 checkPort(((InetSocketAddress) localAddr).getPort());
405 if (localAddr != null) {
407 bind(localAddr);
432 * localAddr}
443 bind(SocketAddress localAddr) argument
[all...]
H A DServerSocket.java268 * backlog of 50 unaccepted connections. If the {@code localAddr} is set to
272 * @param localAddr
280 public void bind(SocketAddress localAddr) throws IOException { argument
281 bind(localAddr, DEFAULT_BACKLOG);
286 * {@code localAddr} is set to {@code null} the socket will be bound to an
289 * @param localAddr the local machine address and port to bind on.
297 public void bind(SocketAddress localAddr, int backlog) throws IOException { argument
304 if (localAddr != null) {
305 if (!(localAddr instanceof InetSocketAddress)) {
307 localAddr
[all...]
H A DSocket.java728 * the SocketAddress {@code localAddr}. If {@code localAddr} is set to
732 * @param localAddr
740 public void bind(SocketAddress localAddr) throws IOException { argument
748 if (localAddr != null) {
749 if (!(localAddr instanceof InetSocketAddress)) {
751 localAddr.getClass());
753 InetSocketAddress inetAddr = (InetSocketAddress) localAddr;
/libcore/luni/src/main/java/java/nio/
H A DDatagramChannelImpl.java539 public void bind(SocketAddress localAddr) throws SocketException { argument
543 super.bind(localAddr);
H A DSocketChannelImpl.java530 public void bind(SocketAddress localAddr) throws IOException { argument
537 super.bind(localAddr);

Completed in 70 milliseconds