Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: C++ - Library
    • Labels:
      None

      Description

      use setsockopt(socket_, SOL_SOCKET, SO_RCVTIMEO, cast_sockopt(&r), sizeof(r));
      but in windows SO_RCVTIMEO is DWORD,not recvTimeval_

        Activity

        Hide
        David Nadlinger added a comment -

        Also be aware that it is not possible to set a timeout shorter than 500ms on Windows – in fact, on all versions of Windows I tested, half a second is just implicitly added to whatever value you pass.

        Show
        David Nadlinger added a comment - Also be aware that it is not possible to set a timeout shorter than 500ms on Windows – in fact, on all versions of Windows I tested, half a second is just implicitly added to whatever value you pass.

          People

          • Assignee:
            Unassigned
            Reporter:
            frank ling
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development