Lines Matching defs:on

39  * delivery service. Each packet sent or received on a datagram socket
60 * Both cases will create a DatagramSocket able to receive broadcasts on
161 * on the local host machine. The socket will be bound to the
194 * the subclass wishes to use on the DatagramSocket.
237 * on the local host machine. The socket will be bound to the
420 * on incoming and outgoing packets, other than matching the packet's
601 * and the port number on the remote host.
644 // check the address is ok wiht the security manager on every send.
647 // The reason you want to synchronize on datagram packet
684 * IP address, and the port number on the sender's machine.
746 // entities on nets should not make
828 * Returns the port number on the local host to which this socket
831 * @return the port number on the local host to which this socket is bound,
895 * of the packet that can be sent on this socket.
930 * buffer size used by the platform for output on this <tt>DatagramSocket</tt>.
954 * of the packet that can be received on this socket.
988 * buffer size used by the platform for input on this <tt>DatagramSocket</tt>.
1030 * @param on whether to enable or disable the
1040 public synchronized void setReuseAddress(boolean on) throws SocketException {
1045 getImpl().setOption(SocketOptions.SO_REUSEADDR, new Integer(on?-1:0));
1047 getImpl().setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(on));
1073 * @param on
1074 * whether or not to have broadcast turned on.
1083 public synchronized void setBroadcast(boolean on) throws SocketException {
1086 getImpl().setOption(SocketOptions.SO_BROADCAST, Boolean.valueOf(on));
1156 * set using the {@link #setTrafficClass(int)} method on this