c# - read full xml file data over tcp -
I'm developing an application that either the incoming data on the PC and then when I'm trying does it decodes the data to use the software with any sniffing have been stored in the dB and I can read it myself ... but my code .... this came in a format like
1651589240214931398151442251437622947132917620011138147205162160411201699123179148781675713921035101183865895219106213196222741589715384652061681391901278671232822552717812424975221242 11517622131122113236255230254211206911242051832545515823012124925217318223920523316923122925514321122343602492471242 ........
I have tried to use this System.Text.Encoding.ASCII.GetString (tcpHeader.Data) and it is working fine. But when I run it and wait for data (this is in XML format) I have found in many packages that it is difficult to read it again ... What should I do? Do I have to collect data from every packet, then add all to get the whole message? Or there is a library to do that in .net
Comments
Post a Comment