
07-09-2009, 2:36 PM
|
 |
VB.NET Forum Moderator
.NET Framework: .NET 3.5 (VS 2008)
|
|
Join Date: Dec 2005
Location: Norway
Age: 37
Posts: 10,325
Reputation: 1315
|
|
Why not use a StreamReader and StreamWriter with the NetworkStream? You are reading and sending crlf terminated lines of strings all the way with this protocol, ie ReadLine/WriteLine. Multiline responses simply end with a "." line.
|