sassembla / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

SRV not work. #386

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!
I tried to connect xmpp server with only its domain(e.g., gmail.com) in 
call.exe.

xcs.set_server(talk_base::SocketAddress("gmail.com", port));
or commented
// xcs.set_server(talk_base::SocketAddress("gmail.com", port));

But both failed.

Does libjingle support srv record ?
Did I do something wrong?

Original issue reported on code.google.com by adam1988...@gmail.com on 27 Aug 2012 at 1:15

GoogleCodeExporter commented 9 years ago
In my tests, libjingle does not support srv -- you have to write your own code 
making the dns call and decoding the results of the SRV. That's a shame because 
this is covered in RFC 6120: http://tools.ietf.org/html/rfc6120

The method implemented by libjingle is the "fallback" mechanism, rather than 
the "preferred" mechanism, according to this RFC.

Original comment by bj...@xowave.com on 14 Sep 2012 at 4:13

GoogleCodeExporter commented 9 years ago
This is not currently supported.

Original comment by juberti@google.com on 31 May 2013 at 3:59