Results 1 to 1 of 1
OpenSSL. Replacement of functions that operate with sockets.
By default OpenSSL itself works with sockets. I would want to implement operation with sockets without admitting it to OpenSSL. I.e. for ...
- 06-15-2011 #1Just Joined!
- Join Date
- Jun 2011
- Posts
- 1
OpenSSL, changeover of functions of operation with sockets
OpenSSL. Replacement of functions that operate with sockets.
By default OpenSSL itself works with sockets. I would want to implement operation with sockets without admitting it to OpenSSL. I.e. for example, when OpenSSL wants to write down something in a socket, it should cause my function and I will transfer data to the socket. And it is exact also obtaining the data from a socket I cause a function of OpenSSL, transferring to it the data accepted from a socket.
I.e. I implement function WriteSocket. When OpenSSL wants to write something in a socket, it causes WriteSocket and nothing more it should disturb. When the data from a socket has come I send notification message OpenSSL about that the data has come, actually I cause function of OpenSSL ReadSocket, transferring it the buffer with the come data. I.e. any operations of waiting of reading OpenSSL is not necessary to do, it has sent the data and can easy smoke a bamboo
, expecting when I will cause ReadSocket.
Whether is it possible to implement? I have read in the documentation about BIO-functions, and could not understand is it possible to implement or not.Last edited by prog777; 06-15-2011 at 06:00 PM. Reason: correcting


Reply With Quote