Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with IO::Socket::SSL

Status
Not open for further replies.

WebmasterA

Programmer
Mar 26, 2004
25
US
Hello,

I am trying to connect to a server using IO::Socket::SSL module. When I do that I am getting an error IO::Socket::INET configuration failed. Anyone has any ideas what is happening? I send the file to someone to test and the files works there. Now I am puzzled.

Please help if you know the answer.

Thank you.

 
More details please, not enough to go here

--Paul
 
What details would you like to know?

I am using a linux server. THe code I am trying to run does work on other server.

Here is the connection part:

# Create an SSL socket connection
my $sock = IO::Socket::SSL->new(
PeerAddr => $dataflite_host,
PeerPort => $dataflite_port,
Proto => 'tcp',
Type => 'SOCK_STREAM',
Timeout => '7'
) or die "Unable to create SSL socket! - ", &IO::Socket::SSL::errstr;

That is about it.

Please let me know what else you would like to know.

Thank you.
 
What's the difference between you and the person you sent it to test, network - firewalls, etc

If the same code works on one configuration, and not another, usually there's a difference in the environments

Check with your buddy re his version of Perl, the SSL module, OS version, patches etc, etc

Talk soon
--Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top