NetworkStream & BufferedStream ?

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

If I write some code doing network access through NetworkStream, is it
better (performace wise) to always encapsulate in a BufferedStream or it
doesn't matter ?
 
Generally you would use a buffered stream when the network operation is
slow... So you can write ... read faster than than the network. There is
no performance related issue here. Also I believe you can move the
current position in the stream you are in ..

HTH
 
Back
Top