VLC 4.0.0-dev

Transport layer socket. More...

#include <vlc_tls.h>

Collaboration diagram for vlc_tls:
[legend]

Data Fields

const struct vlc_tls_operationsops
 Callbacks to operate on the stream. More...
 
struct vlc_tlsp
 Reserved. More...
 

Detailed Description

Transport layer socket.

Transport layer sockets are full-duplex, meaning data can be sent and received at the same time. As such, it is permitted for two threads to use the same TLS simultaneously, if one thread is receiving data while the other is sending data. However receiving or sending data from two threads concurrently is undefined behaviour.

The following functions are treated as sending data:

The following functions are treated as receiving data:

Field Documentation

◆ ops

◆ p

struct vlc_tls* vlc_tls::p

Reserved.

Pointer to the underlying stream, or NULL if none.

Referenced by vlc_https_connect_proxy(), vlc_tls_ClientSessionCreate(), vlc_tls_Close(), vlc_tls_ServerSessionCreate(), and vlc_tls_SocketAlloc().


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