Hi,
I’m trying to build BOSH client with exmpp. Trying to use bosh_client.erl from /examples as a starting point, and didn’t have much luck so far. First, could you explain, why exmpp_session:connect_BOSH is using 5222 (my understanding is that it shouldn’t, as BOSH connects over HTTP, probably that’s what 2nd param is for):
_StreamId = exmpp_session:connect_BOSH(MySession,
“http://127.0.0.1:5280/http-bind”,
“localhost”, 5222)
Second, on login attempt (i.e. after exmpp_session:login(MySession)) ejabberd seems to fall into perpetual spin, while bosh client time-outs.
There seems to be a lot done already with regard to BOSH in exmpp, I’m just not sure how to make use of it. Thank you in advance for your help.
Regards,
Boris
