Go to file
Spencer Low 677fb43b0f adb: win32: specify socket protocol
Instead of using socket(..., 0), pass IPPROTO_TCP or IPPROTO_UDP. Using
zero wasn't buying us anything and was different than popular apps like
Chrome. We should stick to what everyone else does so that we don't go
down different code-paths and potentially hit Winsock service provider
issues that everyone else is (accidentally) avoiding.

Also CHECK() if send() returns an erroneous value as described in the
Chromium source.

Also add comment about socket buffer sizing and Windows Vista.

Change-Id: I63db8f6de352fe1e9525cbc9cfc040eb02a4b9cd
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
2015-09-29 15:05:29 -07:00
adb adb: win32: specify socket protocol 2015-09-29 15:05:29 -07:00
adf Adf: Remove unused variable 2015-07-27 22:08:16 -07:00
base base logging: fix errno restoring, severity conditionality, dangling ifs 2015-09-21 12:46:12 -07:00
cpio makebootfs: use libcutils shared libraries 2015-04-15 10:32:19 -07:00
crash_reporter Merge "crash_reporter: Use ro.debuggable for determining developer mode" 2015-09-29 17:17:53 +00:00
debuggerd Revert "Revert "Revert "Revert "Add BacktraceOffline for offline backtracing."""" 2015-09-22 04:46:57 +00:00
fastboot Remove USE_MINGW/CYGWIN; Whitelist windows modules 2015-09-02 17:10:35 -07:00
fs_mgr Merge "fs_mgr: Error out if unable to determine slot_suffix" 2015-09-14 15:33:35 +00:00
healthd healthd: Adds cycle_count, current_now and full_charge properties. 2015-08-24 13:01:16 -07:00
include utils: add pwrite64 to Compat.h for Mac 2015-09-28 16:52:38 +01:00
init Fix perfboot.py to work with the recent change. 2015-09-15 14:00:10 +09:00
libbacktrace libbacktrace: don't let llvm cflags cover libbacktrace's cflags. 2015-09-24 17:46:27 -07:00
libbinderwrapper Add libbinderwrapper. 2015-09-09 14:21:28 -06:00
libcutils Merge "Use CAP_MASK_LONG for file capabilities." 2015-09-03 15:48:01 +00:00
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror" 2014-05-21 21:19:27 +00:00
libion Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed. 2015-04-02 14:31:07 -07:00
liblog Fix bug number for linker related workarounds 2015-09-28 10:40:35 -07:00
libmemtrack Remove a hack for getting libpagerank's headers. 2015-09-22 22:35:30 -07:00
libmincrypt Enable clang compilation. 2015-05-14 10:53:48 -07:00
libnativebridge Use __ANDROID__ instead of HAVE_ANDROID_OS. 2015-07-30 09:33:43 -07:00
libnetutils Use __ANDROID__ instead of HAVE_ANDROID_OS. 2015-07-30 09:33:43 -07:00
libpixelflinger To compile with llvm integrated assembler. 2015-08-21 15:58:26 -07:00
libprocessgroup Remove uses of libcxx.mk. 2015-03-27 11:24:04 -07:00
libsparse Remove USE_MINGW/CYGWIN; Whitelist windows modules 2015-09-02 17:10:35 -07:00
libsuspend Libsuspend: Remove unused variable 2014-11-24 18:53:44 -08:00
libsync Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed. 2015-04-02 14:31:07 -07:00
libsysutils Add missing <malloc.h> and <string.h> includes. 2015-01-28 11:37:57 -08:00
libusbhost am 0d8943c2: am e4c5b614: Merge "libusbhost: Fix IOCTL call during usb_request_cancel" 2014-08-12 21:05:43 +00:00
libutils libutils: hide SharedBuffer by moving SharedBuffer.h to the implementation directory 2015-09-23 16:22:59 +01:00
libziparchive Remove USE_MINGW/CYGWIN; Whitelist windows modules 2015-09-02 17:10:35 -07:00
lmkd bundle init.rc contents with its service 2015-08-21 10:14:43 -07:00
logcat logcatd: up size from 16MB to 256MB 2015-09-21 13:53:16 -07:00
logd logd: increase dgram_max_qlen to 600 2015-09-25 14:15:53 +00:00
logwrapper Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h 2015-08-21 17:14:59 -07:00
metricsd Merge "metricsd: Fix race condition in the tests." 2015-09-29 18:07:07 +00:00
mkbootimg mkbootimg: misc typo fixes 2015-06-04 09:59:01 -07:00
reboot reboot: Turn on -Werror 2014-05-21 12:58:38 -07:00
rootdir logd: increase dgram_max_qlen to 600 2015-09-25 14:15:53 +00:00
run-as package missing include for string.h 2015-04-01 11:15:37 -07:00
sdcard Move sdcard off PAGESIZE and onto PAGE_SIZE. 2015-07-28 16:36:47 -07:00
toolbox Lose du to toybox. 2015-09-14 10:37:52 -07:00
trusty/libtrusty Add libtrusty and corresponding test utility 2015-09-16 11:15:43 -07:00
tzdatacheck Executable to run on boot that removes old tzdata if needed 2015-04-13 11:38:32 +01:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Add a CleanSpec for grep/toolbox. 2015-03-22 18:04:54 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00