# HG changeset patch # User Chris Jones # Date 1325113820 25200 # Node ID 13bcc96a5a6c7e81da01cf7b005c31d853a83257 # Parent 4d0a369079ceee7b2bd754e30362697008c4a65e Clarified a comment. diff -r 4d0a369079ce -r 13bcc96a5a6c xmpp.go --- a/xmpp.go Wed Dec 28 15:47:27 2011 -0700 +++ b/xmpp.go Wed Dec 28 16:10:20 2011 -0700 @@ -69,8 +69,9 @@ // Connect to the appropriate server and authenticate as the given JID // with the given password. This function will return as soon as a TCP // connection has been established, but before XMPP stream negotiation -// has completed. The negotiation will occur asynchronously, and sends -// to Client.Out will block until negotiation is complete. +// has completed. The negotiation will occur asynchronously, and any +// send operation to Client.Out will block until negotiation (resource +// binding) is complete. func NewClient(jid *JID, password string) (*Client, os.Error) { // Resolve the domain in the JID. _, srvs, err := net.LookupSRV(clientSrv, "tcp", jid.Domain)