Clarified a comment.
authorChris Jones <chris@cjones.org>
Wed, 28 Dec 2011 16:10:20 -0700
changeset 27 13bcc96a5a6c
parent 26 4d0a369079ce
child 28 78961db80bae
Clarified a comment.
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)