ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/experimental/server/XMLReader/UDPReader.java
(Generate patch)

Comparing experimental/server/XMLReader/UDPReader.java (file contents):
Revision 1.6 by pjm2, Tue Nov 21 09:15:06 2000 UTC vs.
Revision 1.7 by pjm2, Tue Nov 21 09:38:27 2000 UTC

# Line 38 | Line 38 | public class UDPReader extends Thread{
38          System.out.println("UDPReader ready and listening for UDP packets on port "+port);
39  
40          byte[] buf;
41        UDPReaderThread t = new UDPReaderThread();
41          
42          boolean running = true;
43          while (running){
# Line 47 | Line 46 | public class UDPReader extends Thread{
46                  // receive request
47                  DatagramPacket packet = new DatagramPacket(buf, buf.length);
48                  socket.receive(packet);
49 +                UDPReaderThread t = new UDPReaderThread();
50                  t.run(packet);
51              }
52              catch (IOException e) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines