Thank you for your response, however Tk is not thread safe, and really, POE is handling that chore pretty well. If you notice the get_input session may not seem to do anything and it doesn't as it is shown, but if you put some work in there ( like a counter, or open another socket ) you would see that POE is working as advertise and Rocco's SSL client is not blocking. SSL is just slow to fire up for some reason, but after it makes the first connection, things run fairly smoothly. Like I said, this may be sort of petty and it is a performace issue, versus my initial problem, of how do you even do non-blocking ssl :-)
I have no idea if this is even the correct approach since, I just popped the hood up and started munging about until it worked. No books on POE/Tk or even POE yet. I am beginning to think POE is neater than sliced bread though a lot of stuff like getting it to work with PerlApp border on the obscure.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|