I\'m creating simple proxy server but I faced a strange situation, I\'ve following code :
var clientRequestStream = _tcpClient.GetStream(); var requestHeader = c
As you've discovered, NetworkStream is not seekable. NetworkStream feeds you data directly from the network.
NetworkStream
You should read the data into a MemoryStream and re-use that.
MemoryStream