谁能介绍一下 wsock32.dll 的 _WSAFDIsSet函数 的功能和参数

心留 2009-07-27 09:15:16
谁能介绍一下 wsock32.dll 的 _WSAFDIsSet函数 的功能和参数?

越详细越好!
...全文
564 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
心留 2009-07-27
  • 打赏
  • 举报
回复
内容如下:

__WSAFDIsSet Function

The __WSAFDIsSet function specifies whether a socket is included in a set of socket descriptors.


Syntax
int __WSAFDIsSet(
SOCKET fd,
fd_set* set
);

Parameters
fd
Descriptor identifying a socket.

set
Pointer to an fd_set structure containing the set of socket descriptors. The __WSAFDIsSet function determines whether the socket specified in the fd parameter is a member of that set.

Return Value

Returns a nonzero integer if the socket is a member of the group specified in the set parameter. Returns zero if the socket is not a member of the group specified in the set parameter.

看不怎么明白。。。
stivenjia 2009-07-27
  • 打赏
  • 举报
回复
msdn 索引select 注意你需要看的是socket select而不是sql
心留 2009-07-27
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 stivenjia 的回复:]
参考 socket select部分。
[/Quote]

在哪里找参考 socket 的select部分。
stivenjia 2009-07-27
  • 打赏
  • 举报
回复
参考 socket select部分。

15,471

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 进程/线程/DLL
社区管理员
  • 进程/线程/DLL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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