From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
我使用TCP/IP通訊來傳輸資料。一開始這樣的傳輸動作並沒有問題,但是經過一段時間後,server會收不到client傳送給它的資料。我要如何來改變server端的TCP window size呢?
要解決這個通訊問題,可以調整window size的大小。Window size代表的是ㄧ次連結可以接收到buffer的資料量大小。使用者可以使用setsockopt()這個Windows DSK函數來設定window size的大小。
|