i have problem interconnecting android emulator fedora 18 running on virutal machine. both run on same host , i'm trying create socket connection between these. i'read several threads on issue of interconnecting 2 emulator instances. did changes according this did not work. linux machine server listening connections emulator. did have problem? or adivce?
update: command listening incomming connections on linux vm , sending x
variable:
x=$(filename); echo $x | nc -l 10.0.2.15 -p 4460.
this command emulator stucks when creating connection:
socket = new socket("10.0.2.2", 4450);
i did redirection on vm:
iptables -t nat -a prerouting -i p2p1 -p tcp --dport 4450 -j redirect --to-port 4460
thanks.
Comments
Post a Comment