Communication Samples

Some C code examples

Public Attributes | List of all members
Sslc Struct Reference

Public Attributes

int skt
 
int err
 
SSL * ssl
 
SSL_CTX * ctx
 
int client_skt
 

Detailed Description

sslc handles SSL and SSL_CTX and socket

sslc handles SSL and SSL_CTX and socket. The same as myssl.c

Definition at line 48 of file myssl.c.

Member Data Documentation

int Sslc::client_skt

client socket handler

Definition at line 66 of file serverssl.c.

Referenced by SSL_clientDialog(), TCP_acceptClient(), and TCP_clientDialog().

SSL_CTX * Sslc::ctx

SSL Context

Definition at line 57 of file myssl.c.

Referenced by SSL_clientDialog(), SSL_Connection(), SSL_init(), and SSL_load_certificates().

int Sslc::err

error, if any

Definition at line 53 of file myssl.c.

Referenced by SSL_send(), and TCP_Connection().

int Sslc::skt

socket handler

Definition at line 51 of file myssl.c.

Referenced by SSL_Connection(), TCP_acceptClient(), TCP_Connection(), TCP_select(), and TCP_Server().

SSL * Sslc::ssl

SSL handler

Definition at line 55 of file myssl.c.

Referenced by SSL_clientDialog(), SSL_Connection(), SSL_print_info(), SSL_recv(), and SSL_send().


The documentation for this struct was generated from the following files: