¡@

Home 

c# Programming Glossary: respbuffer

Sockets in C#: How to get the response stream?

http://stackoverflow.com/questions/523930/sockets-in-c-how-to-get-the-response-stream

MemoryStream memStream new MemoryStream byte respBuffer new byte 4096 try int bytesRead responseStream.Read respBuffer.. new byte 4096 try int bytesRead responseStream.Read respBuffer 0 respBuffer.Length while bytesRead 0 memStream.Write respBuffer.. 4096 try int bytesRead responseStream.Read respBuffer 0 respBuffer.Length while bytesRead 0 memStream.Write respBuffer 0 bytesRead..