Hi,

Is there a way to forward the remote port i.e. port on the android
device/emulator to the local machine to which the device is connected?
using adb or using any other method? I am develop an application to
communicate with a desktop application over USB. The desktop
application listens for connections on a particular port.

The documentation of adb states that:
$ adb forward tcp:port1 tcp:port2 # forwards the local port port1 on
the machine to port2 on the device.

Thanks in advance!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to