Raj wrote: > Thanks for all the response > 1. I was able to do the handshaking successfully with the > browser. > On receiving the request from the browser I will send "HTTP OK " > response > back to the browser, I was able to do the handshaking and read the > actual > GET request. > 2. Then I create a new socket to establish the connection with > server. The connection was successful. > Sends the request to the server > Reads the request from the server > > When I read the response from the server it always return empty.
What does that mean? Are you doing a blocking read or a non-blocking read? If 'read' returns zero, then the connection was closed by the server. If 'read' returns a number less than zero, there is an error -- tell us what error you are getting. If 'read' returns a number greater than zero, then that is the first part of the response. > I > don't > know what went wrong here. I am reading the data from the socket using > 'recv' function. Can anybody tell me what went wrong So, what return value do you get from 'recv'? DS ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org