@Override
	public void Timer(int code){ 
        if(running){
            if(!completed){
                if(resend != "" && resendings++ < 5){
                    LayerInfo protInfo = new LayerInfo(getClass().getName());
                    protInfo.setObjectName(mParentStack.getParentNodeName());
                    protInfo.setDataType("DHCP client");
                    protInfo.setLayer("Application ");
                    protInfo.setDescription("Resening DHCP packet to 255.255.255.255 due to timer.");
                    Simulation.addLayerInfo(protInfo);
                    try{
                        SendData(appSock, "255.255.255.255", 67, resend);
                    }catch(Exception e){}
                }
            }else{
                //re-lease
            }
        }
    }