title: What are the possible causes for stream not writable exception?
body: <p>What are the possible causes for <strong>Stream not Writable Exception</strong> when serializing custom object over <strong>TCP</strong> using Network Stream in C#.
  I am Sending the Mp3 data in the form of Packets.The Frame consists of Byte[] Buffer.I am Using Binary Formatter to serialize the object.</p>
  
  <p>BinaryFormatter.Serialize(NetworkStream,Packet);</p>
  
  <p>The Mp3 Played at client with distortion and jitters end for few seconds and then The above mentioned exception raised.I m using NAudio Open Source library for it.</p>
  
  <p>Before  doing this modification I was using </p>
  
  <p><strong>NetworkStream.Write(Byte[] Buffer,0,EncodedSizeofMp3);</strong>
  and it was writing it successfully before giving any exception</p>