Lines Matching refs:port
46 private int port = -1; // The default port number is -1
79 * Constructs a new {@code DatagramPacket} object to send data to the port
93 * the port of the target host.
102 * Constructs a new {@code DatagramPacket} object to send data to the port
113 * @param port
114 * the port of the target host.
116 public DatagramPacket(byte[] data, int length, InetAddress host, int port) {
117 this(data, 0, length, host, port);
158 * Gets the port number of the target or sender host of this datagram
161 * @return the port number of the origin or target host.
164 return port;
237 * Sets the port number of the target host of this datagram packet.
240 * the target host port number.
246 port = aPort;
260 * the target host address and port.
282 * the target host address and port.
293 * Gets the host address and the port to which this datagram packet is sent
317 port = inetAddr.getPort();