开发者

C send() to socket and select() function

I want to send(socketfd, ...) and I'm using the select() function. Should this file descriptor be in the writefds, or in the readfds开发者_高级运维?


readfds are for sockets you want to read from, writefds for those you want to write to. So writefds in your case.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜