XP is just a number | |
PerlMonks |
Re^2: Using read/syswrite with IO::Socket::SSLby Bloehdian (Beadle) |
on Oct 26, 2016 at 13:16 UTC ( [id://1174780]=note: print w/replies, xml ) | Need Help?? |
O.k., boys and girls, Your contributions made things clearer. I am not very familiar with SSL, it is not the main task in my project, nevertheless I have to get an SSL-socket to run in non-blocking way. So, I studied the cited documentation on it and found the following (in the example code):
I am a little bit confused. My app must not block, so, if I would integrate the sample code or similar into my while-loop, I COULD run into problems due to a blocking can_read()? Or am I wrong? And: If am right, how could I workaround this problem? Could You please explain the cited text of the documentation in the context of my problem. Cheers Bloehdian
In Section
Seekers of Perl Wisdom
|
|