initialize socket connection to the udp receive port . concode_field_sep int sendPort concode_elem_sep int MAX_PACKET_SIZE concode_elem_sep String host concode_elem_sep int receivePort concode_elem_sep DatagramSocket socket concode_field_sep byte[] receiveDatagram concode_elem_sep void disconnect concode_elem_sep void sendDatagram
void function ( ) { if ( socket == null ) { socket = new DatagramSocket ( receivePort ) ; } }