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 Beginners" group.

ATTENTION: Android-Beginners will be permanently disabled on August 9 2010. For 
more information about this change, please read [http://goo.gl/xkfl] or visit 
the Group home page.

Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to