Peek data

2014-04-17 Thread Piotr Kliczewski
Hello, I would like to know whether it is possible to peek a message that was received after successful handshake? I am looking for similar behavior to python socket.MSG_PEEK flag which examine the data without consuming it and subsequent recv will read the data again. Thanks, Piotr _

Re: Peek data

2014-04-17 Thread Piotr Kliczewski
On Thu, Apr 17, 2014 at 7:04 PM, wrote: > On Thu, Apr 17, 2014 at 12:48:11PM -0400, Jeffrey Walton wrote: > >> > This would be the job of a buffering layer above the SSL connection. >> > In Postfix, for example, there is a buffering "vstream" layer above >> > SSL. Peeking at plaintext data witho

Peek data

2014-04-17 Thread Piotr Kliczewski
Hello, I would like to know whether it is possible to peek a message that was received after successful handshake? I am looking for similar behavior to python socket.MSG_PEEK flag which examine the data without consuming it and subsequent recv will read the data again. Thanks, Piotr _