ex.printStackTrace();
    public SlpMulticastClient(String addr, InetAddress iface,                               int port, int MTU, SlpUdpCallback cb) throws ServiceLocationException {        super(MTU);        // update variables        try {            this.address = InetAddress.getByName(addr);            this.port = port;            this.iface = iface;            this.callback = cb;                    // create socket            //MulticastSocket s = new MulticastSocket(new InetSocketAddress(address, port));            MulticastSocket s = new MulticastSocket(port);            // set timeToLive            s.setTimeToLive(255);            // set correct interface and join multicast group.            //s.setInterface(iface); // Is this needed ?            s.joinGroup(address);                    // set timeout to 0. (no timeout)            s.setSoTimeout(0);                        socket = s;        }catch(Exception ex) {            ex.printStackTrace();            throw new ServiceLocationException(ServiceLocationException.NETWORK_INIT_FAILED);        }                //start listenerthread...        Thread t = new Thread(this);        t.start();    }