Hi Francois,
Using your directions I succeeded to query and change the SO_SNDBUF. I chose
the TCustomWinSocket.Dup procedure to do the following:
1. Query the SO_SNDBUF (result was 8192)
2. Set the SO_SNDBUF to 16384
3. Query once again (and yes, the result was now 16384 :))
Two questions
1. Is there any difference if I do these changes in TCustomWinSocket.Connect
or in
TCustomWinSocket.Dup?
Yes of course. Dup is used at server side, when a new client connection has
been accepted.
Connect is used at client side, when a connection to a server is requested.
2. When I set the