Hi,

I have written a program using Win32::GUI to provide a user-interface to a
network script.

However the SSL portion of the script fails if the GUI is invoked.

Basically the script is like this:

1) Show UI and take parameters.
2) On UI event Create a socket.
3) Attempt to SSLify the socket using IO::Socket::SSL->start_SSL($socket);

the start_SSL() function fails only if the GUI is initialized with the error
- "SSL connect attempt failed".

I've tried hiding the main Window, disabling the main Window and even
destroying the main Window but nothing works.

>From a preliminary search I figured that Net::SSLeay (the underlying to
IO::Socket::SSL) needs a blocking socket to work.
Does Win32::GUI set some form of continuous interrupts or signals that
prevent Net::SSLeay from working in blocking mode?

If so is it possible to disable the interrupts / destroy the GUI interface
completely ?

I'm just hazarding a guess at what the problem might be...

Thanks,
Emmanuel

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl

Reply via email to