Update of /project/cl-xmpp/cvsroot/cl-xmpp In directory common-lisp.net:/tmp/cvs-serv32567
Modified Files: README Log Message: 0.7.0
Date: Fri Nov 18 23:35:50 2005 Author: eenge
Index: cl-xmpp/README diff -u cl-xmpp/README:1.9 cl-xmpp/README:1.10 --- cl-xmpp/README:1.9 Fri Nov 18 23:01:08 2005 +++ cl-xmpp/README Fri Nov 18 23:35:50 2005 @@ -6,10 +6,17 @@ * (require :cl-xmpp)
* (defvar *connection* (xmpp:connect :hostname "jabber.org")) +;; or xmpp:connect-tls if you loaded cl-xmpp-tls + +;; note that for XMPP servers which do not have the same hostname +;; as the domain-part of the user's JID you will have to pass that +;; in. eg for Google Talk: +;; (defvar *connection* (xmpp:connect-tls :hostname "talk.google.com" + :jid-domain-part "gmail.com"))
* (xmpp:auth connection "password" "resource") ;; or pass :mechanism :sasl-plain, :digest-md5 or sasl-digest-md5 -;; if you loaded cl-xmpp-sasl. +;; if you loaded cl-xmpp-sasl or cl-xmpp-tls.
;; send someone a message * (xmpp:message connection "username@hostname" "what's going on?")