Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds WSARecvFrom as a Windows fallback #882

Closed
wants to merge 7 commits into from

Commits on Nov 11, 2023

  1. Initial Windows optimised UDP (slackhq#589)

    This initial implementation only supports IPv4
    
    - Uses WSA methods as an equivalent to SYS_RECVMMSG
    - Respects configuration values for buffers and batch sizes
    lewishazell committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    b1eacfc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8cbb4d View commit details
    Browse the repository at this point in the history
  3. WSA-specific calls for handles and overlapped I/O (slackhq#589)

    - Refactor ReadMulti to read the buffer at the index given by WSAWaitForMultipleEvents
    lewishazell committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    026b7ee View commit details
    Browse the repository at this point in the history
  4. Use Sendto instead of WSASendTo in WriteTo (slackhq#589)

    - WSASendTo method eventually gave "WSAWaitForMultipleEvents: winapi error slackhq#6" under load
    - Simplified code with similar performance
    lewishazell committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    56574de View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4b543e4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    872b5ee View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8980eb2 View commit details
    Browse the repository at this point in the history