How do I register a new user in eJabberd server through C# Client? -
i'm developing messenger type application jabbernet server & library. i'm having problem registering new users.
first of want know, required login admin register new user?
i tried register , without admin login "not authorized
".
jid jid = new jid("test4", server_ip_address, ""); jclient.user = "test4"; jclient.password = "test4"; jclient.autologin = false; jclient.onloginrequired += new bedrock.objecthandler(this.onloginrequired); jclient.onregisterinfo += new registerinfohandler(this.onregisterinfo); jclient.onregistered += new iqhandler(this.onregistered); jclient.connect(); jclient.register(jid); jclient.close(true); return true;
what doing wrong?
you not providing host name, required register method try using full explanation in parameters must pass register method, @ least far understand question.
Comments
Post a Comment