January 2002
Beginner
480 pages
13h 15m
English
The script is very basic, but it gets the job done. It is suitable for calling from another script, for mass user generation, although you may wish to modify it so that a connection is not created and destroyed for every username that needs to be registered.[8]
It also illustrates how simple a Jabber client can be. In this case, the
Net::Jabber libraries mask the bulk of the effort (socket connection,
XML stream negotiation, XML fragment traffic management, and so on).
We’ll be making use of this script to create users for our recipes later
on in the book.
[8] Otherwise, you may experience socket rating problems. See Section 4.13.1 in Chapter 4 for details.
Read now
Unlock full access