wss_server sample
add_new_client()
is only used within wss_server sample.
Symbol previews are coming soon...
Symbols
loading (1/4)...
Files
loading (2/4)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
wss_server sample
add_new_client()
add_new_client() function
Syntax
Show:
Summary
Declaration
from
keep_alive.c:94
static
bool
add_new_client
(
wss_keep_alive_t
h
,
int
sockfd
)
;
Arguments
Argument
h
sockfd
Examples
References
from
examples
Code
Location
Referrer
static
bool
add_new_client
(
wss_keep_alive_t
h
,
int
sockfd
)
keep_alive.c:94
if
(
!
add_new_client
(
keep_alive_storage
,
client_action
.
fd
)
)
{
keep_alive.c:117
keep_alive_task()
Call Tree
from
examples
add_new_client()
is called by 1 function and calls 1 function:
keep_alive_task()
All items filtered out
add_new_client()
_tick_get_ms()
All items filtered out
Data Use
from
examples
add_new_client()
reads 5 variables and writes 3 variables:
client_fd_action_type_t::NO_CLIENT
client_fd_action_type_t::CLIENT_ACTIVE
client_fd_action_t::type
wss_keep_alive_storage::max_clients
wss_keep_alive_storage::clients
All items filtered out
add_new_client()
client_fd_action_t::type
client_fd_action_t::fd
client_fd_action_t::last_seen
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out