public void run(){
       try{
          if(Thread.currentThread().getName().equals("pipe1"))
             pipe(remote_sock,client_sock,false);
          else
             pipe(client_sock,remote_sock,true);
       }catch(IOException ioe){
       }finally{
          abort();
          log("UDP Pipe thread "+Thread.currentThread().getName()+" stopped.");
       }

    }
public void run ( ) { try { if ( Thread . currentThread ( ) . getName ( ) . equals ( "pipe1" ) ) pipe ( remote_sock , client_sock , false ) ; else pipe ( client_sock , remote_sock , true ) ; } catch ( IOException ioe ) { } finally { abort ( ) ; log ( "UDP Pipe thread " + Thread . currentThread ( ) . getName ( ) + " stopped." ) ; } }
//////////////////