Class UDPNetwork

    • Field Detail

      • DATAGRAM_MAX_SIZE

        static final int DATAGRAM_MAX_SIZE
        The maximum number of bytes of one datagram
        See Also:
        Constant Field Values
      • socket

        private DatagramSocket socket
        A socket used to send and receive datagrams
      • socketReceiveBufferSize

        private int socketReceiveBufferSize
        Value of the SO_RCVBUF option for the DatagramSocket, that is the buffer size used by the platform for input on the DatagramSocket.
      • socketSendBufferSize

        private int socketSendBufferSize
        Value of the SO_SNDBUF option for the DatagramSocket, that is the buffer size used by the platform for output on the DatagramSocket
    • Constructor Detail

      • UDPNetwork

        public UDPNetwork()