Greeting monks,
I have minor question regard with IO::Socket::SSL issue.
I am working on building Net WebSocket Application using Net::WebSocket::Server module.
http://search.cpan.org/~topaz/Net-WebSocket-Server-0.001003/lib/Net/WebSocket/Server.pm
I was successfully building websocket server, but little concern about building IO::Socket::SSL objects.
It seems everytime when handshake occurs, its building new IO::Socket::SSL object for clients with new Symbol creation. When I dump socket object variable in log file it output as follows:
$VAR1 = bless( \*Symbol::GEN67, 'IO::Socket::SSL' );
My concern is this GEN # number is keep increasing (ex. Symbol::GEN68, Symbol::GEN69, Symbol::GEN70 .... so forth) no matter what. I don't know whether this Symbol::GEN object should be deleted or not.
I wonder if anybody can enlighten me in some aspect of using IO::Socket::SSL. What would be proper way to close / shutdown its service. Does it closes automatically if socket isn't being used? Should I concern about symbol # increases?
For your record, I am using Steffen Ullrich's version of IO::Socket::SSL
http://search.cpan.org/dist/IO-Socket-SSL/lib/IO/Socket/SSL.pod<br><br>
Thanks!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.