Searched refs:setPort (Results 1 – 8 of 8) sorted by relevance
127 setPort(port); in DatagramPacket()319 public synchronized void setPort(int iport) { in setPort() method in DatagramPacket344 setPort(addr.getPort()); in setSocketAddress()
688 p.setPort(connectedPort); in send()
502 void setPort(int port) { in setPort() method in AbstractPlainSocketImpl
709 p.setPort(connectedPort); in send()
72 packet.setPort(2345); in run()139 packet.setPort(1234); in testDatagram()
54 p.setPort(mcPort); in testGroupReceive()
154 p.setPort(isa.getPort()); in send()
783 packet.setPort(srcAddress.getPort()); in postRecvfrom()