Hi Stian,
It worked ... Thanks for your kind suggestion.
Regards,
/Mahesh
On Mon, 2005-03-14 at 11:28, [EMAIL PROTECTED] wrote:
> > I have tried it by splitting the transaction into 2 parts as
> > client -> server ( actual data size in next call )
> > server -> client ( OK )
> > cli
> I have tried it by splitting the transaction into 2 parts as
> client -> server ( actual data size in next call )
> server -> client ( OK )
> client -> server ( actual data )
> server -> client ( received ). This works but because of extra overhead
> I want to eliminate it. and make it as
>
On Mon, 2005-03-14 at 11:01, [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > Once again I try to explain my problem. I am having a client sending
> > "unknown size of data" to server. Server doesn't know how much to
> > receive, but the length of the data is embedded inside the data itself (
> > initi
> Hi,
>
> Once again I try to explain my problem. I am having a client sending
> "unknown size of data" to server. Server doesn't know how much to
> receive, but the length of the data is embedded inside the data itself (
> initial 32 bytes contains this info ). So server has to read the init
Hi,
Once again I try to explain my problem. I am having a client sending
"unknown size of data" to server. Server doesn't know how much to
receive, but the length of the data is embedded inside the data itself (
initial 32 bytes contains this info ). So server has to read the initial
bytes
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of David Schwartz
> Sent: Saturday, March 12, 2005 1:22 PM
> To: openssl-dev@openssl.org
> Subject: RE: ssl_read to receive data of "unknown size"
>
>
> >
> I am trying to use ssl_read in the loop for receiving the data
> of
> unknown size ( say 988 bytes for now ). But it fails to read after a
> single pass. Everytime it exits with ret = 32 and error=SSL_ERROR_NONE.
> Am I missing something here .. Please find attached the code snippet. Is
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mahesh Lalge
> Sent: Saturday, March 12, 2005 7:31 AM
> To: openssl-dev
> Subject: ssl_read to receive data of "unknown size"
>
> Hi,
>
> I am trying to use ssl_read in the loop for receivi