jdev - 2024-05-13


  1. astanad

    Hello guys ! i'am trying to make a basic xmpp client in pure python without using external xmpp libraries ! can anyone help me with this code ?

  2. astanad

    https://http.xmpp.is:5281/upload/bZZepaSd1weWMir7DsCsztx0/chat.py

  3. nicoco

    astanad, what's the issue, error message from the server, traceback from the python interpreter…?

  4. astanad

    nicoco, when i starts the script it prints "Connected to server securely" and after some minuts it prints a lot of lines like that ( Received Data : ) and then it crashs

  5. singpolyma

    > Hello guys ! i'am trying to make a basic xmpp client in pure python without using external xmpp libraries ! can anyone help me with this code ? Why? Just for edification?

  6. astanad

    singpolyma, Hope you can help !

  7. jonas’

    astand, it would help if you stayed here for more than a couple minutes.

  8. jonas’

    astanad, it would help if you stayed here for more than a couple minutes.

  9. jonas’

    in any case, what you describe sounds as if the server closes the connection. in python, socket receive methods will return a zero-length bytes object when the connection has been closed.

  10. astanad

    jonas’, sorry i'am back now