To create a new user

hallo everybody, i recive this message from the server when i try to connect with a new login

RECEIVED:

To create a new user, the username sent to the server must be null.

setting my code like this


var connection = new XMPPConnection();

connection.username = null;

connection.password = “mypwd”;

connection.server = “127.0.0.1”;

connection.port = “5222”;

var chatRoom = new Room( connection );

chatRoom.roomName = “myroom”;

chatRoom.nickname = “mynick”;

chatRoom.conferenceServer = “conference.mnf”;


leads a different kind of error

RECEIVED:

do u know why?

thanks