private void send ( ByteBuffer data ) { try { this . socket . send ( new DatagramPacket ( data . array ( ) , data . capacity ( ) , this . address ) ) ; } catch ( IOException ioe ) { logger . info ( "Error sending datagram packet to tracker at {}: {}." , this . address , ioe . getMessage ( ) ) ; } }
Send a UDP packet to the tracker .