     }
     
     func socket(_ sock: GCDAsyncSocket, didRead data: Data, withTag tag: Int) {
-        print("command did read size \(data.count)")
-        
         dataRead(data:data, sock:sock)
     }
     

    
    func dataRead(data:Data, sock: GCDAsyncSocket)
    {
        let mergedData:Data = mergeData(data:data)
        
        guard

        
        if header.size < mergedData.count
        {
            readAgain = false
            
            defer
            {
                let sub:Data = data.subdata(in:Int(header.size) ..< mergedData.count)
                print("subdata: \(sub.count)")
                dataRead(data:sub, sock:sock)
            }
        }
