Bump
On Oct 15, 3:12 pm, Anders <[email protected]> wrote:
> Hi,
>
> I have an application that acts as both client and server. I have a
> scenario that I need to test that involves three devices. One of them
> needs tobroadcasta message (UDP) to the other two.
> Running on physical devices, this is not a problem, and it works fine.
> On the emulator however, this is much harder.
> I have managed to get it work for two devices using the emulator. Here
> my client threadbroadcastthe message to 10.0.2.255 port 6002, and
> server thread listens on port 6006. By using redir add udp:6002:6006
> the server receives the message fine.
> Now, if I add another instance and do the same portforwarding, only
> one of them receives the message. I also tried to use a different port
> number on the server, and forward port 6002 to that number, with the
> same result.
> It appears as if a port can only be forwarded from one instance.
> Does anyone of a method tobroadcastusing the emulator, without
> sending a separate message to each emulator instance?
>
> Thanks,Anders
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---