I need to receive an SMS sent from the Android emulator in adb or a TCP connection.
For example, to send an SMS to the emulator all you have to do is start a telnet connection to the emulator port:
telnet localhost 5554
Then in the connection send the command:
sms send 123456 Texto del mensaje
And the SMS is received in the emulator. What I want to do is the opposite, send from the emulator and receive it in the console.
I know that sms can be sent between two emulators, but that's not what I need.