Lines Matching refs:endpoint
320 * @param endpoint The IP address & port number to bind to.
325 * @throws IllegalArgumentException if endpoint is a
329 public void bind(SocketAddress endpoint) throws IOException {
330 bind(endpoint, 50);
347 * @param endpoint The IP address & port number to bind to.
354 * @throws IllegalArgumentException if endpoint is a
358 public void bind(SocketAddress endpoint, int backlog) throws IOException {
363 if (endpoint == null)
364 endpoint = new InetSocketAddress(0);
365 if (!(endpoint instanceof InetSocketAddress))
367 InetSocketAddress epoint = (InetSocketAddress) endpoint;
443 * Returns the address of the endpoint this socket is bound to, or
447 * then this method will continue to return the address of the endpoint
450 * @return a <code>SocketAddress</code> representing the local endpoint of this