Problems with stream decryption

2008-04-25 Thread Vladimir Sabanov
Hi! I have some transport which based on winsock. Client(FTPS) send to me some data over SSL, and i receive it with (for example): ... if (WSARecv(AcceptSocket, DataBuf, 1, RecvBytes, Flags, AcceptOverlapped, NULL) == SOCKET_ERROR){ if (WSAGetLastError() != WSA_IO_PENDING)

Re: Problems with stream decryption

2008-04-25 Thread Victor Duchovni
On Fri, Apr 25, 2008 at 03:40:00PM +0300, Vladimir Sabanov wrote: Hi! I have some transport which based on winsock. Client(FTPS) send to me some data over SSL, and i receive it with (for example): ... if (WSARecv(AcceptSocket, DataBuf, 1, RecvBytes, Flags, AcceptOverlapped, NULL) ==

RE: Problems with stream decryption

2008-04-25 Thread David Schwartz
Hi! I have some transport which based on winsock. Client(FTPS) send to me some data over SSL, and i receive it with (for example): ... if (WSARecv(AcceptSocket, DataBuf, 1, RecvBytes, Flags, AcceptOverlapped, NULL) == SOCKET_ERROR){ if (WSAGetLastError() != WSA_IO_PENDING)