For example, in the server endpoint, if I set the receive buffer size to 1k, and there are 100 connections, are these 100 connections share this 1k receive buffer? Or each connection has its own 1k receive buffer? And is it same for send buffer?
For example, in the server endpoint, if I set the receive buffer size 1k, and there is 100 connections. Is these 100 connections share this 1k receive buffer?
No.
Or each connection has their own 1k receive buffer?
See below.
And is it same for send buffer?
Yes.
Every socket has its own send and receive buffer. That's why you have to specify the socket when setting or getting them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With