Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: IO::Socket::SSL problem

by Khen1950fx (Canon)
on Sep 27, 2012 at 10:24 UTC ( #995963=note: print w/ replies, xml ) Need Help??


in reply to IO::Socket::SSL problem

Did you add :https to the host? Example:

#!/usr/bin/perl use strict; use autodie; use warnings; use IO::Socket::SSL qw/debug3/; my $host = 'localhost:https'; my $ssl_sock = IO::Socket::SSL->new( PeerAddr => $host, PeerPort => 9000, Proto => 'tcp', Reuse => 1, ); $ssl_sock->close('SSL_ctx_free=1');


Comment on Re: IO::Socket::SSL problem
Select or Download Code
Re^2: IO::Socket::SSL problem
by balle (Novice) on Sep 27, 2012 at 10:55 UTC
    No I didnt add :https to the host, because I want to use Net::Telnet afterwards.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995963]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-08-29 02:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls