• hclam's avatar
    UDP: Windows implementation using non-blocking IO · 5a5ee680
    hclam authored
    Non-blocking IO has higher throughput than the previous implementation
    that used overlapped IO. 15% increase in throughput for sending to
    localhost is observed. There could be additional performance advantage
    in WiFi network.
    
    All existing UDP socket tests passed. I added a unit test to do
    benchmarking. Also tested this manually with WebRTC and verified that
    all UDP send and receive activities are logged correctly.
    
    BUG=442392
    
    Review URL: https://codereview.chromium.org/861963002
    
    Cr-Commit-Position: refs/heads/master@{#314752}
    5a5ee680
udp_server_socket.h 2.16 KB