Windows sockets overflow fd_set

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • 2.4.0-rc1
    • Affects Version/s: 2.4.0-rc0
    • Component/s: Networking
    • None
    • Environment:
      Windows
    • Windows
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      On Windows, I set FD_SETSIZE to 1024. However, this is not large enough, and it's hard to say how large we need to set it other than going with 32767. The socket() function does not necessarily return numbers in sequential order like on Unix.
      We could use WSAPoll() but this function is not supported on XP.
      We could use accept() but we would need a different way to update the listen timer.

            Assignee:
            Eric Milkie
            Reporter:
            Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: