--- projects/cms/source/host/java/LowLevelNet.java 2000/11/30 04:09:11 1.3 +++ projects/cms/source/host/java/LowLevelNet.java 2002/05/21 16:47:12 1.7 @@ -1,3 +1,23 @@ +/* + * i-scream central monitoring system + * http://www.i-scream.org.uk + * Copyright (C) 2000-2002 i-scream + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + //---PACKAGE DECLARATION--- //---IMPORTS--- @@ -9,8 +29,8 @@ import java.io.*; * Provides low level network functions for JavaHost * * - * @author $Author: ab11 $ - * @version $Id: LowLevelNet.java,v 1.3 2000/11/30 04:09:11 ab11 Exp $ + * @author $Author: tdb $ + * @version $Id: LowLevelNet.java,v 1.7 2002/05/21 16:47:12 tdb Exp $ */ class LowLevelNet { @@ -25,7 +45,7 @@ class LowLevelNet { public static void sendUDPPacket( Config config, String inText ){ if ( inText.length() != 0 ){ - + //System.out.println("SENT: "+inText); // will throw an exception if an error occurs, so must bung it in a try try { DatagramPacket udp = new DatagramPacket( inText.getBytes(), inText.length(), config.getFilterName(), config.getFilterUDPPort() ); @@ -53,4 +73,4 @@ class LowLevelNet { //---STATIC ATTRIBUTES--- -} \ No newline at end of file +}