communication between android and pc #587
Replies: 8 comments 12 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Use probe.sh to find out which failure detection protocol caused the split. I suspect it could be FD_SOCK, perhaps look at |
Beta Was this translation helpful? Give feedback.
-
As instructed, I ran the tests, but I don't know what to look for in the results, could you help me with that?.
It doesn't seem right to me
this is what happens as soon as i run the Android app with the PC running:
then run:
Result:
and after a while it starts to happen:
|
Beta Was this translation helpful? Give feedback.
-
OK, good, so this shows that FD_SOCK on PC did not suspect the Mobile device. IIRC, it was the other way round... Also run the same wih FD_ALL or FD_ALL2, or whichever protocol you use... |
Beta Was this translation helpful? Give feedback.
-
You can run probe directly connecting to mobile: probe.sh -addr (-udp true -tcp false) |
Beta Was this translation helpful? Give feedback.
-
Or try nc -u <addr of mobile) 7500 |
Beta Was this translation helpful? Give feedback.
-
I updated the version of jgroups from 5.0.0 to 5.1.7 and now I was able to connect to the Mobile application, however this happens:
Am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
-
I would like to thank you for your attention and help, I am sorry for not being able to make Jgroups work via UDP, but at least it worked via TCP. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to create a connection between an Android application and another one on the PC.
In some moments it is listed that the mebro mobile (app) joined the group, but they do not exchange messages. They always end up in two different groups.
Are there any examples to follow? something "piece of cake"?
My current code:
Beta Was this translation helpful? Give feedback.
All reactions