I am modifying a part of code of Android OS, where I am stuck at a requirement where my client outside to the android system needs to call a method using ip address: of android emulator or device. Like say
Android has method say GetTime() listening to the requests on port 10000 So my client (outside Android env) should be able to call that method using ip and port.
Is it possible and if yes where i could find the resources ??