AndroidSocket
AndroidSocket is a way to communicate with a process launched on the AndroidDevice. Use androidDevice.open(command) to open a socket.
#
androidSocket.on('close')Emitted when the socket is closed.
#
androidSocket.on('data')- type: <Buffer>
Emitted when data is available to read from the socket.
#
androidSocket.close()Closes the socket.
#
androidSocket.write(data)Writes some data
to the socket.