openssl_examples – examples of utilizing OpenSSL


ssl_server_nonblock.c is an easy OpenSSL instance program as an instance the usage of reminiscence BIO’s (BIO_s_mem) to carry out SSL learn and write with non-blocking socket IO. The program accepts connections from SSL purchasers. To hold it easy solely a single dwell connection is supported. While a shopper is linked this system will obtain any bytes which it sends, unencrypt them and write to stdout, utilizing non-blocking socket reads. It will even learn from stdin, encrypt the bytes and ship to the shopper, utilizing non-blocking socket writes.


https://github.com/darrenjs/openssl_examples


Tags

ssl

socket

ssl-read

Implementation

C

License

MIT

Platform

   


%d bloggers like this: