commit | e753641ef10b22eb1725a08a11491f11bf319817 | [log] [tgz] |
---|---|---|
author | Taylor Brandstetter <deadbeef@webrtc.org> | Fri Sep 09 20:16:15 2016 |
committer | Taylor Brandstetter <deadbeef@webrtc.org> | Fri Sep 09 20:16:25 2016 |
tree | 7c74961cc251fb2d511cca51e67109dc96efff57 | |
parent | fc433e65463e3a2e3cc43b3f8cb68849b00f381f [diff] |
Adding ability to simulate EWOULDBLOCK/SignalReadyToSend. Calling VirtualSocketServer::SetSendingBlocked(true) will simulate the network interface being blocked, and SetSendingBlocked(false) will simulate it being unblocked, resulting in SignalReadyToSend if appropriate. I plan to use this to write tests for upper layers of code that deal with EWOULDBLOCK/SignalReadyToSend. Also doing some minor housekeeping in this CL (using RTC_DCHECK, renaming variables, etc.). R=pthatcher@webrtc.org, skvlad@webrtc.org Review URL: https://codereview.webrtc.org/2284903002 . Cr-Commit-Position: refs/heads/master@{#14170}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.