Index: runtime/bin/socket_android.cc |
=================================================================== |
--- runtime/bin/socket_android.cc (revision 24864) |
+++ runtime/bin/socket_android.cc (working copy) |
@@ -360,7 +360,7 @@ |
bool Socket::SetNoDelay(intptr_t fd, bool enabled) { |
int on = enabled ? 1 : 0; |
return TEMP_FAILURE_RETRY(setsockopt(fd, |
- SOL_TCP, |
+ IPPROTO_TCP, |
TCP_NODELAY, |
reinterpret_cast<char *>(&on), |
sizeof(on))) == 0; |