请大家帮助: TDI里如何实现象setsockopt( _sock, SOL_SOCKET, SO_SNDBUF功能

ymlife 2009-12-17 03:58:51
我想设置下层收发缓冲大小
TdiBuildSetInformation :....

The underlying transport also can refuse to reset anything for which the client supplies an inappropriate value in the buffer at MdlAddr. For example, a client cannot force the underlying transport to extend its MaxSendSize or MaxDatagramSize beyond the transport-determined limit by issuing a set-information request that attempts to reset these members of the TDI_PROVIDER_INFO structure returned by the transport in a preceding query-information request.
请大家帮助,给个可以设置成功的代码好吗
...全文
145 1 打赏 收藏 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
tynguan 2009-12-19
  • 打赏
  • 举报
回复
請先參考一下。
http://msdn.microsoft.com/en-us/library/ms740476(VS.85).aspx

6,873

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧