Hello, I have a question or two about some problems we are having with the client 
program.

Let me explain the setup of my program.

This is a program used as a host-interface between our company and another company, 
and is written to be a-synchronous.

The main (parent) process sets up a single socket connection with SSL protocol, 
initializes shared memory functionality, then forks off 2 child processes to handle 
sending and receiving messages, respectively, one function to each child.  The parent 
process monitors the pings between both hosts, child 1 sends messages to the server 
process, and child 2 receives responses from the server process.  All instances have 
access to the shared memory, which maintains the ping status, message data, and 
message return addresses.

The parent must authenticate the connection with the server process.  It sends a hello 
message.  Child 2 receives the response to the hello message, calculates a challenge 
response, and sends it back to the server process.  Then, when child 2 goes to read 
from the socket, it says there is nothing on the socket, though select() said there 
was.  SSL_read() returns 0, and SSL_get_error() returns 1, or SSL_ERROR_SSL.

We are stumped as to why to problem is occurring...

I setup a simple single instance client process, sequentially sending the required 
messaging pattern for authentication, and all worked.

When I use my regular program, first only with shared memory and no fork()s, then no 
shared memory and forks, ... nothing worked... still received the same error...

What could be impeding the SSL_read() to return the response data I need...?

Any help would be greatly appreciated...  also, a document, besides the test client 
with the source/libraries, would be helpful in explaining the required order of  
initializing an SSL socket would be awesome...

Thank You
*********************************************
Robert R. Mestl
Systems Host-Interface Programmer/Analyst
west Corporation - Interactive Division
Podium:         (800)232-1800 or (402)573-1000
Ask For Extension:      206x7444
Dial-in Direct: (402)573-2331
Email:          [EMAIL PROTECTED]

This electronic message transmission, including any attachments, contains information 
from West Corporation which may be confidential or privileged. The information is 
intended to be for the use of the individual or entity named above. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is prohibited. 

If you have received this electronic transmission in error, please notify the sender 
immediately by a "reply to sender only" message and destroy all electronic and hard 
copies of the communication, including attachments.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to