public int timeToLive(){
  try {
    return _myMulticastSocket.getTimeToLive();
  }
 catch (  IOException ioe) {
    Logger.printError("Multicast.getTimeToLive()","" + ioe);
  }
  return -1;
}

public int timeToLive ( ) { try { return _myMulticastSocket . getTimeToLive ( ) ; } catch ( IOException ioe ) { Logger . printError ( "Multicast.getTimeToLive()" , "" + ioe ) ; } return - 1 ; }
get the current time to live value .
