heyrobot has asked for the wisdom of the Perl Monks concerning the following question:
And the server uses:use IO::Socket::SSL; my $client = IO::Socket::SSL->new(PeerAddr => 'destination.server.com' +, PeerPort => 12345, Proto => 'tcp');
Anything obviously wrong with this? .. and are there any useful examples or documentation out there for IO::Socket::SSL? I've looked everywhere.. and everything I find is either contradictory to one another .. or it's just plain useless. Thank ya!use IO::Socket; use IO::Socket::SSL; use IO::Select; use constant PORT => 43968; my %client; my $socket = IO::Socket::SSL->new(LocalPort => PORT, Listen => SOMAXCO +NN, Proto => 'tcp', SSL_key_file => "./myserver.key", SSL_cert_file = +> "./myserver.cert", SSL_server => 1, Reuse => 1);
update (broquaint): title change (was IO::Socket::SSL)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IO::Socket::SSL
by Jaap (Curate) on Dec 24, 2002 at 11:33 UTC | |
by heyrobot (Initiate) on Dec 25, 2002 at 08:17 UTC | |
|
Re: IO::Socket::SSL
by shotgunefx (Parson) on Dec 24, 2002 at 23:08 UTC | |
|
Re: IO::Socket::SSL - Timeout IO::Socket::INET configuration failed
by beernuts (Pilgrim) on Jan 16, 2003 at 23:11 UTC |