RE: parsing SSL/TLS packet

2004-06-07 Thread Elie Lalo
Hi David, Thanks for your help. I think that I misunderstood how I/O completion port works. I believe that I/O doesn't wait for all specified bytes. Thanks again. Elie At 10:44 AM 6/7/2004 -0700, David Schwartz wrote: For some reason, my email client didn't want to indent your message. S

RE: parsing SSL/TLS packet

2004-06-07 Thread David Schwartz
For some reason, my email client didn't want to indent your message. So I'll put your text on the left and mine indented. Sorry about that. I think I need to explain my problem a little bit more. I am going to break the problem into 2 parts. Part 1: handshake How do we know how many bytes

RE: parsing SSL/TLS packet

2004-06-07 Thread Elie Lalo
Hi David, I think I need to explain my problem a little bit more. I am going to break the problem into 2 parts. Part 1: handshake How do we know how many bytes does the I/O completion port need to read without waiting forever (note that I can solve this problem by reading one byte at a time from

RE: parsing SSL/TLS packet

2004-06-07 Thread David Schwartz
> I'm currently implementing a server using overlapped I/O completion ports > (Async socket), and I am using 2 BIOs (network/internal) to take care of > encrypted/decrypted data. In my server, I need to know when the packet > begins and ends so that I can executed accordingly. Is there a > way to