|
I'm trying to run this code:
$SERVER = $class->new( Proto => 'tcp',
LocalPort => $PORT,
Listen => 5,
Reuse => 1,
SSL_cert_file => "foo.pem",
SSL_key_file => "bar.pem"
);
die "Can't setup server. I encountered a problem: ".IO::Socket::SSL::errstr() unless $SERVER;
But I get this output:
Can't setup server. I encountered a problem: IO::Socket::INET configuration failederror:00000000:li
+b(0):func(0):reason(0)
I am running perl 5.8.8, IO:Socket:SSL ver 1.0.8.
The thing is that the same code exactly works fine on some PCs, but on others I get that error message.
Does anyone have an explanation/solution for this?
Thanks! |