HomeSort by relevance Sort by last modified time
    Searched full:aport (Results 1 - 9 of 9) sorted by null

  /libcore/luni/src/main/java/java/net/
DatagramPacket.java 80 * {@code aPort} of the address {@code host}. The {@code length} must be
92 * @param aPort
96 InetAddress host, int aPort) {
98 setPort(aPort);
104 * {@code aPort} of the address {@code host}. The {@code length} must be
243 * @param aPort
246 public synchronized void setPort(int aPort) {
247 if (aPort < 0 || aPort > 65535) {
248 throw new IllegalArgumentException("Port out of range: " + aPort);
    [all...]
DatagramSocket.java 68 * {@code aPort} on the localhost. Valid values for {@code aPort} are
71 * @param aPort
76 public DatagramSocket(int aPort) throws SocketException {
77 checkPort(aPort);
78 createSocket(aPort, Inet4Address.ANY);
83 * address {@code addr} on port {@code aPort}. Valid values for {@code
84 * aPort} are between 0 and 65535 inclusive.
86 * @param aPort
93 public DatagramSocket(int aPort, InetAddress addr) throws SocketException
    [all...]
PlainSocketImpl.java 166 protected void connect(String aHost, int aPort) throws IOException {
167 connect(InetAddress.getByName(aHost), aPort);
171 protected void connect(InetAddress anAddr, int aPort) throws IOException {
172 connect(anAddr, aPort, 0);
180 * @param aPort
187 private void connect(InetAddress anAddr, int aPort, int timeout) throws IOException {
190 socksConnect(anAddr, aPort, 0);
192 IoBridge.connect(fd, normalAddr, aPort, timeout);
195 super.port = aPort;
ServerSocket.java 135 private void checkListen(int aPort) {
136 if (aPort < 0 || aPort > 65535) {
137 throw new IllegalArgumentException("Port out of range: " + aPort);
MulticastSocket.java 326 synchronized void createSocket(int aPort, InetAddress addr) throws SocketException {
331 impl.bind(aPort, addr);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
MulticastSocketTest.java 114 public MulticastServer(InetAddress anAddress, int aPort) throws java.io.IOException {
118 ms = new MulticastSocket(aPort);
124 public MulticastServer(SocketAddress anAddress, int aPort, NetworkInterface netInterface) throws java.io.IOException {
128 ms = new MulticastSocket(aPort);
    [all...]
DatagramSocketTest.java 89 public DatagramServer(int aPort, InetAddress address)
94 ms = new DatagramSocket(aPort, address);
207 public DatagramServer(int aPort, InetAddress address)
212 ms = new DatagramSocket(aPort, address);
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldDatagramSocketTest.java 92 public DatagramServer(int aPort, InetAddress address)
97 ms = new DatagramSocket(aPort, address);
343 public DatagramServer(int aPort, InetAddress address)
348 ms = new DatagramSocket(aPort, address);
    [all...]
  /prebuilt/sdk/7/
android.jar 

Completed in 312 milliseconds