September 2008


Thanks Réal Gagnon :)


import java.io.*;

import java.net.*;

 

public class ReachableTest {

 public static void main(String args[]) {

     try {

       InetAddress address = InetAddress.getByName("web.mit.edu");

       System.out.println("Name: " + address.getHostName());

       System.out.println("Addr: " + address.getHostAddress());

       System.out.println("Reach: " + address.isReachable(3000));

     }

     catch (UnknownHostException e) {

       System.err.println("Unable to lookup web.mit.edu");

     }

     catch (IOException e) {

       System.err.println("Unable to reach web.mit.edu");

     }

   }

}

Umm…. OK?

Can’t wait to get my hand on this-supposed-to-be-great browser from Google. They say it will launch tomorrow, and if you don’t know anything about it yet, just read this this comic, you’ll be amazed guaranteed.

That’s when you want to stream multiple files continuously. By default, the stream will stop after one file.

Just add this to the end of the command : sout-keep


:sout=#duplicate{dst=std{access=http,mux=ts,dst=192.168.15.7:1234}} :sout-keep