2024-10-05 21:10:28 +02:00
|
|
|
# erdhe
|
|
|
|
|
2024-10-06 18:09:04 +02:00
|
|
|
XMPP Welcome Bot in C
|
|
|
|
|
|
|
|
Build and run:
|
|
|
|
|
|
|
|
``
|
|
|
|
make
|
|
|
|
``
|
|
|
|
|
|
|
|
Run the bot:
|
|
|
|
|
|
|
|
``
|
|
|
|
./xmpp_bot 2>&1
|
|
|
|
``
|
|
|
|
|
|
|
|
Remember to replace BOT_JID and BOT_PASSWORD with your actual credentials. If you're getting connection errors, you might need to verify:
|
|
|
|
|
|
|
|
The server's TLS certificate is valid
|
|
|
|
The server allows client connections
|
|
|
|
Your network allows outbound XMPP traffic
|