The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
I have been unable to get my Android game running across a LAN. I have successfully connected two emulators which were running on the same machine by forwarding the ports of the listening emulator and opening a connection to 10.0.2.2 with the client. I have also successfully connected from an emulator to a Java server program across the LAN, so it's the server side which is the problem.
My googlefu turned up this. He says that the emulator will only listen to the localhost interface, so a mapping from the NIC interface to the localhost is required. He suggests using Putty for this. I downloaded Putty, but was unable to get it to work the way I need.
Any experienced Android developers here that know the best way to pull this off? Thanks all.
I managed to find a solution to this and I thought I would post it for anyone who will google this in the future.
Heres how you do it:
Server Side:
1) Download this program. enter the following into the program: port: (whatever port your client is connecting to), destination: localhost, then whatever port your server is listening to.
2) Connect to your emulator through telnet (probably localhost 5554). put in this command: redir add tcp:port:port
for port put whatever port your server is listening to.
note: if you push backspace at any point while entering the redir command it will fail. Yeah it's weird.
3) Start your server.
Client Side:
1) Nothing special here. Just connect to the ip of the server computer on whatever port you forwarded above.
I managed to find a solution to this and I thought I would post it for anyone who will google this in the future.
Heres how you do it:
Server Side:
1) Download this program. enter the following into the program: port: (whatever port your client is connecting to), destination: localhost, then whatever port your server is listening to.
2) Connect to your emulator through telnet (probably localhost 5554). put in this command: redir add tcp:port:port
for port put whatever port your server is listening to.
note: if you push backspace at any point while entering the redir command it will fail. Yeah it's weird.
3) Start your server.
Client Side:
1) Nothing special here. Just connect to the ip of the server computer on whatever port you forwarded above.
the basic telnet client doesn't really do backspace. You can use a client that uses a text buffer and it'll work fine.
Posts
Heres how you do it:
Server Side:
1) Download this program. enter the following into the program: port: (whatever port your client is connecting to), destination: localhost, then whatever port your server is listening to.
2) Connect to your emulator through telnet (probably localhost 5554). put in this command: redir add tcp:port:port
for port put whatever port your server is listening to.
note: if you push backspace at any point while entering the redir command it will fail. Yeah it's weird.
3) Start your server.
Client Side:
1) Nothing special here. Just connect to the ip of the server computer on whatever port you forwarded above.
Street Fighter 4 (pc): sdurien
Steam: Jon http://steamcommunity.com//profiles/76561197970923897/home
the basic telnet client doesn't really do backspace. You can use a client that uses a text buffer and it'll work fine.
Thank you very much! Your instructions helped me out a lot!