Peter Saint-Andre wrote:
> Alban Crequy wrote:
>> I implemented an automatic caps lookup via disco in telepathy-salut
>> (the XEP-0174 implementation in the Telepathy framework). It opens a
>> stream only if a "ver" TXT record is advertised *and* if the "ver"
>> record is not already known.
>
> Right, I see the need for that. But it's unfortunate.
>
> Still thinking...
Maybe it is a bad idea, maybe not. We could provide a query TCP
feature. So if you do not know the client, you open a connection and get
the follwoing features: starttls (for real communication) and query to
get the disco#query results and close the stream after that. Or we use a
second port just for the query. Connect to that port and you get a
stream with just the query results and the socket is closed again.
I now, it is not a good solution, but I have the same problem as
Alban. I need to know what the remote entity can do.
Dirk
--
I'm going to live forever, or die trying!
-- Spider Robinson