在LabWindows/CVI下改變TCP的Window Size
主要軟體:
主要軟體版本: 8.1
主要軟體修正版本:
次要軟體: N/A
問題: 我使用TCP/IP通訊來傳輸資料。一開始這樣的傳輸動作並沒有問題,但是經過一段時間後,server會收不到client傳送給它的資料。我要如何來改變server端的TCP window size呢?
解答: 要解決這個通訊問題,可以調整window size的大小。Window size代表的是ㄧ次連結可以接收到buffer的資料量大小。使用者可以使用setsockopt()這個Windows DSK函數來設定window size的大小。
相關連結: MSDN: SetSockOpt KnowledgeBase 21SE44PR: Using the Windows SDK in LabWindows/CVI
附加檔案:
報告日期: 03/22/2002
最後更新: 03/27/2008
文件偏號: 2JL8IIY1
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.