> Dr Stephen, > I want to map recv(fd, buffer, SEGMENT_LEN, MSG_PEEK) > to some kind of SSL_read. > > MSG_PEEK > This flag causes the receive operation > to return data from the > beginning of the receive queue without > removing that data from > the queue. Thus, a subsequent receive > call will return the same > data. > > Is it possible ?
Because this is so ugly, I would advise you to just receive it normally and keep it in your own buffer to receive again. That's assuming there's no way you can rearchitect the code not to use this. DS ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]