title: C#:SerialPort: read and write buffer size
body: <p>I am writing a program to send and receive data via a serial port with C#.</p>
  
  <p>Although I have read this reference: <a href="http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.readbuffersize.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.readbuffersize.aspx</a>, I am not quite clear if I change the values of the buffer for reading and writing:</p>
  
  <pre><code>serialPort.ReadBufferSize = 1; // or 1024 ?
  serialPort.WriteBufferSize = 1;// or 1024 ?
  </code></pre>
  
  <p>The values (1 or 1024) should be better to be smaller or bigger?</p>
  
  <p>Thanks in advance.</p>