Searched refs:aPort (Results 1 - 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DDatagramPacket.java80 * {@code aPort} of the address {@code host}. The {@code length} must be
92 * @param aPort
95 public DatagramPacket(byte[] data, int offset, int length, InetAddress host, int aPort) { argument
97 setPort(aPort);
103 * {@code aPort} of the address {@code host}. The {@code length} must be
239 * @param aPort
242 public synchronized void setPort(int aPort) { argument
243 if (aPort < 0 || aPort > 65535) {
244 throw new IllegalArgumentException("Port out of range: " + aPort);
[all...]
H A DDatagramSocket.java70 * {@code aPort} on the localhost. Valid values for {@code aPort} are
73 * @param aPort
78 public DatagramSocket(int aPort) throws SocketException { argument
79 checkPort(aPort);
80 createSocket(aPort, Inet4Address.ANY);
85 * address {@code addr} on port {@code aPort}. Valid values for {@code
86 * aPort} are between 0 and 65535 inclusive.
88 * @param aPort
95 public DatagramSocket(int aPort, InetAddres argument
100 checkPort(int aPort) argument
130 createSocket(int aPort, InetAddress addr) argument
[all...]
H A DServerSocket.java136 private void checkListen(int aPort) { argument
137 if (aPort < 0 || aPort > 65535) {
138 throw new IllegalArgumentException("Port out of range: " + aPort);
H A DPlainSocketImpl.java166 protected void connect(String aHost, int aPort) throws IOException { argument
167 connect(InetAddress.getByName(aHost), aPort);
171 protected void connect(InetAddress anAddr, int aPort) throws IOException { argument
172 connect(anAddr, aPort, 0);
180 * @param aPort
187 private void connect(InetAddress anAddr, int aPort, int timeout) throws IOException { argument
190 socksConnect(anAddr, aPort, 0);
192 IoBridge.connect(fd, normalAddr, aPort, timeout);
195 super.port = aPort;
H A DMulticastSocket.java326 synchronized void createSocket(int aPort, InetAddress addr) throws SocketException { argument
331 impl.bind(aPort, addr);
/libcore/luni/src/test/java/libcore/java/net/
H A DOldDatagramSocketTest.java92 public DatagramServer(int aPort, InetAddress address) argument
97 ms = new DatagramSocket(aPort, address);
343 public DatagramServer(int aPort, InetAddress address)
348 ms = new DatagramSocket(aPort, address);

Completed in 91 milliseconds