Can you please explain what do you mean by acking of the content (payload) ?

How can I Make sure application stop accepting packets from TCP so that it 
doesn't acknowledge the contents?

Thanks for the reply
Ritesh

-----Original Message-----
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] 
On Behalf Of Michael S. Zick
Sent: Tuesday, September 01, 2009 8:04 AM
To: openssl-users@openssl.org
Subject: Re: Need help with s_client

On Mon August 31 2009, Ritesh Rekhi wrote:
> Hi All,
> 
> I want to write a SSL client which will not ack for all the data on TCP layer 
> and then close a connection i.e I want to test the tcp close when there is 
> unacknowledged data on socket.
> 
> I tried using s_client and tried to modify the code where there is:
> 
>   k=SSL_read(con,sbuf,1024 /* BUFSIZZ */ );
> 
> I tried changing the buffer size and tried adding delay after first read, but 
> looking at tcp conn on ethereal  I saw that even if my client is not reading 
> the data , the data is getting acked back.
> 

At that level, what is being ack'd is the packet, not the contents (payload).

Mike
> I will really appreciate any ideas or tools to achieve this.
> 
> Ritesh
> 
> 
> 


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to