Check SCTP_EWOULDBLOCK instead of EWOULDBLOCK in SctpDataMediaChannel.
usrsctp.h redefines EWOULDBLOCK to WSAEWOULDBLOCK on Windows, but usrsctp_sendv still returns the BSD EWOULDBLOCK (i.e. SCTP_EWOURLBLOCK) when sending data fails due to congestion.
We will need to revert this change when usersctp is fixed.

BUG=2866
R=juberti@webrtc.org, wu@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/14439004

git-svn-id: http://webrtc.googlecode.com/svn/trunk/talk@6079 4adac7df-926f-26a2-2b94-8c16560cd09d
2 files changed