Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-07-05 06:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls