Lines Matching refs:port
63 * The port number on the remote host to which this socket is connected.
65 protected int port;
68 * The local port number to which this socket is connected.
83 * Connects this socket to the specified port on the named host.
86 * @param port the port number.
90 protected abstract void connect(String host, int port) throws IOException;
93 * Connects this socket to the specified port number on the specified host.
96 * @param port the port number.
100 protected abstract void connect(InetAddress address, int port) throws IOException;
103 * Connects this socket to the specified port number on the specified host.
116 * Binds this socket to the specified local IP address and port number.
119 * @param port the port number.
122 protected abstract void bind(InetAddress host, int port) throws IOException;
247 * Returns the value of this socket's <code>port</code> field.
249 * @return the value of this socket's <code>port</code> field.
250 * @see java.net.SocketImpl#port
253 return port;
306 * Returns the address and port of this socket as a <code>String</code>.
312 ",port=" + getPort() + ",localport=" + getLocalPort() + "]";
317 port = 0;