Design decisions for new Protocol: Adium vs Libpurple
Paul Aurich
paul at darkrain42.org
Mon Jun 28 20:01:26 UTC 2010
(Disclaimer: I'm a libpurple developer)
On 2010-06-28 12:46, Bob Tanner wrote:
> On 2010-06-26 14:34:00 -0500, Bob Tanner <tanner at real-time.com> said:
>
>> I'm looking to read more on adding a new protocol to Adium as a plugin.
>
> So I can understand the implementation a little better. Neither Adium or
> libpurple are designed to help you in your implementing your protocol,
> right?
>
> What I mean by this is I could not find any API for opening a socket,
libpurple offers API to do this (despite the name, basically all TCP
connections are opened via purple_proxy_connect)
> sending authentication information, parsing the responses, etc.
It depends on how your protocol works. libpurple (and I'm sure some OS
X libraries) offer HTTP GET/POSTing, XML parsing, cipher/hash, and SSL.
You'll likely need to do some amount of glue work, though.
~Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20100628/6eb7a00a/attachment.sig>
More information about the devel
mailing list