1

I want to know when I change the SND_BUF of a socket via setsockopt API, will the original window size of the TCP layer be changed accordingly?

ciphor
  • 8,018
  • 11
  • 53
  • 70

1 Answers1

3

It doesn't change since it is receive window size, whereas SO_SNDBUF controls the size of the send buffer.

Maxim Egorushkin
  • 131,725
  • 17
  • 180
  • 271