Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSL socket in Delphi

I need to communicate with a device that uses SSL. It used to use socket to communicate with my Delphi app, but now I'd like to use security communication with the device.

So, is there a TServerSocket and TClientSocket equivalent component that I can use SSL?

like image 684
Daniel Grillo Avatar asked Jan 18 '23 13:01

Daniel Grillo


1 Answers

There's no built-in direct equivalent in Delphi. You can use Indy with either OpenSSL or SecureBlackbox SSL classes however Indy is not a drop-in replacement for TServerSocket/TClientSocket, as they use very different coding models. Or you can use TElSecureClientSocket and TElSecureServerSocket classes of SecureBlackbox - they are descendants and direct replacements for TClientSocket and TServerSocket respectively. Note: SecureBlackbox is our product.

like image 78
Eugene Mayevski 'Callback Avatar answered Jan 25 '23 14:01

Eugene Mayevski 'Callback