jaxl / JAXL

Asynchronous, non-blocking I/O, event based PHP library for writing custom TCP/IP client and server implementations. From it's previous versions, library inherits a full blown stable support for XMPP protocol stack. In v3.0, support for HTTP protocol stack was also added.
http://jaxl.readthedocs.org/
Other
379 stars 121 forks source link

Documentation Problem #71

Open bhavikdesai94 opened 8 years ago

bhavikdesai94 commented 8 years ago

Hii abhinav, i want to connect ejjaberd server in my site for the chat purpose but problem is their i haven't found good documentation to develop code, i have used your library and create send message file whenever i run that file it will online the user which i have set in constructor if i run that file ten time than it will show 10 user login but only one user is login for ten time in ejjeberd server so will you please help me how can i figure it out.

calebtr commented 8 years ago

What is it you would like your script to do?

bhavikdesai94 commented 8 years ago

I want a simple script where user can enter username and password and it will create user on ejjeberd server i have read your XEP-0077 File but still i am not able to do it. Can you please say how can i use XEP-0077 file to create a register_user method in php and i am using mac os and running php file in browser so when i run register user example given by you at that time its give me an error like argc and argv is not defined.

calebtr commented 8 years ago

Running it in the browser is tricky since JAXL runs in an endless loop and needs to listen for events. You'll need a javascript layer or something else to talk to the JAXL daemon that is running on your server.

frost-nzcr4 commented 8 years ago

Sort of #57, #58 issues.