# | Line 25 | Line 25 | class LowLevelNet { | |
---|---|---|
25 | public static void sendUDPPacket( Config config, String inText ){ | |
26 | ||
27 | if ( inText.length() != 0 ){ | |
28 | < | |
28 | > | System.out.println("SENT: "+inText); |
29 | // will throw an exception if an error occurs, so must bung it in a try | |
30 | try { | |
31 | DatagramPacket udp = new DatagramPacket( inText.getBytes(), inText.length(), config.getFilterName(), config.getFilterUDPPort() ); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |