ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm working on my IRC bot and it all works nice. It's written in C and I've read some OpenSSL tutorials and understood how to use it and tested it a few times with some simple codes.
But my problem is, I use select() in my bot, so I can multiple connections, but the problem is how am I gonna use OpenSSL sockets (BIO sockets) and the normal sockets , both with select()?
Or do I need to use something else?
Can anyone help me, so I can use normal sockets and SSL tunnels (cause the bot should have the possibility of joining more then one irc network)
Hi,
Me too have some problems with SSL. In my SSL server I cannot create the SSL CTX objects. The SSL_CTX_new(SSLv23_client_method()) function always returns NULL. Can any body help me? I am using the fedora core 3 Linux. The SSL library of Redhat 9 is not working.
Originally posted by orgcandman SSL doesn't use polling to get information. Instead, you register a callback, and when data arrives, the callback function is called.
See: SSL_CTX_set_msg_callback(3)
-Aaron
Tnx for the info man, I will use it when I'm back from Spain
Going tomorrow on vacation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.