Getting the size of the client recv buffer
Hello, recently I have been working on a very very simple server, it works well but in some cases is unnecesarily slow. I was wondering if there's a standard call to the client to get the size of recv buffer, so I could adapt my send buffer to the max size instead of checking each time the received size. First I was thinking on send a huge string and use the 'client readed bytes' as max client buffer, but I can see that's a bad solution. I'm using winsock2, and I have taked a look at the ws2 manual reference but with no results.
Thank's in advance
Niara