Searched refs:setPort (Results 1 – 8 of 8) sorted by relevance
117 setPort(port); in DatagramPacket()299 public synchronized void setPort(int iport) { in setPort() method in DatagramPacket324 setPort(addr.getPort()); in setSocketAddress()
681 p.setPort(connectedPort); in send()
433 void setPort(int port) { in setPort() method in AbstractPlainSocketImpl
682 p.setPort(connectedPort); in send()
72 packet.setPort(2345); in run()139 packet.setPort(1234); in testDatagram()
193 dp.setPort(2000); in test_setPortI()
154 p.setPort(isa.getPort()); in send()
580 packet.setPort(srcAddress.getPort()); in postRecvfrom()