Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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');

Replies are listed 'Best First'.
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: (10)
As of 2016-09-30 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (566 votes). Check out past polls.