C# |
Parsing network stream
hey!, i wonder if anyone could lend me a hand with the following, below i have a code segment from a class im writing which essentially streams bytes from a network socket and retrives that data and converts it using ASCII into a readable format and at present prints this info out to a text file, this was just for disagnostic purposes, all of this works btw, what i require is to parse the stream presumeabley with a streamreader and look for certain strings within the stream, ive had a complete mind blank and i cannot figure out where i need to start parsing this file, is it within my if statement? and would a streamreader be prefabable? thanks in advance
Answers
Know the answer? Post it. Somebody with the same question will find it here.