Le 2/14/12 4:20 PM, David R Robison a écrit :
What is the difference between the setReadBufferSize and the
setReceiveBufferSize? David
You can configure the size of the buffer used to either read data from a
socket, or write into a socket. If you are dealing with big messages,
for instance when transfering files, then defining a big size can
increase greatly the throughput. Ths comes with a side effect : you will
eat way more memory if you have many users.
Otherwise, they are methods used to set the SO_RCVBUF and SO_SNDBUF
parameters (check on google for those guys).
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com