test diff from tcp and udp byte array