public TcpIp(BridgeAppCode bridge) {
        this.bridge=bridge;
        synchronized (lock) {
            fifo = new LinkedList<>();
        }
        synchronized (lockSend) {
            fifoSend = new LinkedList<>();
        }
    }