aboutsummaryrefslogtreecommitdiffstats
path: root/android/async-socket-connector.h
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2012-04-10 13:39:24 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2012-04-30 07:14:35 -0700
commit7136b053b7fc7840ec64e01d1d19ab822e1f949a (patch)
tree549e5a10878ab27ab9169f83863460b71878c34c /android/async-socket-connector.h
parent6f50aa39e741a1d1f3081665d0b7f8d56b7b793c (diff)
downloadexternal_qemu-7136b053b7fc7840ec64e01d1d19ab822e1f949a.zip
external_qemu-7136b053b7fc7840ec64e01d1d19ab822e1f949a.tar.gz
external_qemu-7136b053b7fc7840ec64e01d1d19ab822e1f949a.tar.bz2
Use new SdkController communication protocol for emulation ports
android/sdk-control-socket.* has replaced android/android-device.* as the back-bone of communicating with SDK controller on the device. The major differences are: - New communication protocol uses just one (async) socket connection to communicate with the device (the old one used two sockets: one sync, and another - async). - New communication protocol connects to one TCP port (1970 in this CL) for all emulation ports. Channel multiplexing is done by using port names, and assigning a separate socket for communication inside each separate port. The old protocol had separate TCP ports for each emulation ports (1968 for sensors, and 1969 for multi-touch) Change-Id: I779fcbdfba2f9b4c433a9d76a567975708b00469
Diffstat (limited to 'android/async-socket-connector.h')
-rw-r--r--android/async-socket-connector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/async-socket-connector.h b/android/async-socket-connector.h
index bedc2df..d49d203 100644
--- a/android/async-socket-connector.h
+++ b/android/async-socket-connector.h
@@ -17,7 +17,9 @@
#ifndef ANDROID_ASYNC_SOCKET_CONNECTOR_H_
#define ANDROID_ASYNC_SOCKET_CONNECTOR_H_
+#include "qemu-common.h"
#include "android/async-io-common.h"
+#include "android/async-utils.h"
/*
* Contains declaration of an API that allows asynchronous connection to a