CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Posts
    609

    pollfd in windows

    poll.h does not exist in windows so poll() for sockets does not compile. Is there a way to make it work, or an alternative method?
    http://www.uovalor.com :: Free UO Server

  2. #2
    Join Date
    Nov 2002
    Location
    California
    Posts
    4,556

    Re: pollfd in windows

    It's my understanding that poll() performs the same functionality as select(). So, if writing portable code, stick to use of the select() function.

  3. #3
    Join Date
    Oct 2019
    Posts
    2

    Re: pollfd in windows

    Quote Originally Posted by Red Squirrel View Post
    poll.h does not exist in windows so poll() for sockets does not compile. Is there a way to make it work, or an alternative method?
    I know it's an old subject but ...someone can be interested by the solution.
    I developed the poll function with WSA library some years ago. I can give it by an URL on my site, this is only freeware. Is the administrator OK for given a personal URL ?

  4. #4
    Join Date
    Oct 2019
    Posts
    2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured