Linux Sockets - Doubt

Asked

Viewed 60 times

2

Why use these functions with socket implementations and what they serve?

select()
FD_SET()
FD_CLR()
FD_ZERO()
  • 1

    Your question was for in the analysis queue of "low quality posts" and flagged for closure... Can give a little more context?

  • Hello, follow the tip of brasofilo and tell us where these functions are from. Apparently they’re not from a standard library, or at least not very well known. Enjoy and take a [tour] and check out the guide [Ask] to get the most out of the community.

  • On the website: Handle Multiple socket Connections with fd_set and select on Linux, has an example using select to handle multiple connections on Linux. And this link A Scalable client/server using select() socket Function has an example of using Windows. For Windows, the documentation of MSDN also worth it. (links in English).

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.