문제

I'm running an JxtaServerSocket on JXME. Unfortunately, I am not able to get the remote peer id of the connected Socket:

JxtaSocket jsocket = (JxtaSocket) socket;
JxtaSocketAddress addr = ((JxtaSocketAddress) jsocket.getRemoteSocketAddress());

addr.getPeerID() is null. It works on JXSE, but I am lost on JXME. Has someone an idea?

Thank you very much ;)

도움이 되었습니까?

해결책

JXME has not been maintained at least since JXTA release 2.5 (no one in the community was taking on that duty). We found several bugs in JXTA 2.5 and corrected them in 2.6 and 2.7. We implemented JUnit tests for regressions etc... That has never been made in JXME.

There are most probably several bugs left in JXME, which would explain your issue.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top