#41 new
algrid

lm-send-async: -P 5222 has no effect when using SSL

Reported by algrid | February 25th, 2009 @ 04:01 PM

I tried to run lm-send-async with an account on jabber.org and found that it doesn't work when using SSL. It just blocks and sends no message. I was able to send a message only after commenting out the line lm_ssl_use_starttls (ssl, TRUE, FALSE);

With this line uncommented the program works only when I use the 5222 port number. But the option "-P 5222" is ignored when using SSL (it uses 5223 instead), so I have to edit the source and to add something like

lm_connection_set_port (connection, 5222);

instead of

lm_connection_set_port (connection, LM_CONNECTION_DEFAULT_PORT_SSL);

I don't know what port is right for starttls - 5222 or 5223, but I think that at least the option -P should have effect always.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Libloudmouth is a lightweight and easy-to-use C library for programming with the Jabber protocol. It's designed to be easy to get started with and yet extensible to let you do anything the Jabber protocol allows.

People watching this ticket

You can update this ticket by sending an email to from your email client. (help)