mbedTLS
mbedtls_net_set_block()
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
mbedtls_net_set_block()
mbedtls_net_set_block() function
Set the socket blocking
Syntax
Show:
Summary
Declaration
Definition
from
net_sockets.h:195
int
mbedtls_net_set_block
(
mbedtls_net_context
*
ctx
)
;
Implemented in
net_sockets.c:318
Arguments
Argument
Description
ctx
Socket to set
Return value
0 if successful, or a non-zero error code
Related Functions
Found 9 other functions taking a
mbedtls_net_context
argument:
Function
Description
mbedtls_net_init()
Initialize a context Just makes the context ready to be used or freed safely.
mbedtls_net_free()
Gracefully shutdown the connection and free associated data
mbedtls_net_connect()
Initiate a connection with host:port in the given protocol
net_would_block()
mbedtls_net_bind()
Create a receiving socket on bind_ip:port in the chosen protocol. If bind_ip == NULL, all interfaces are bound.
mbedtls_net_accept()
Accept a connection from a remote client
mbedtls_net_set_nonblock()
Set the socket non-blocking
mbedtls_net_poll()
Check and wait for the context to be ready for read/write
mbedtls_net_close()
Closes down the connection and free associated data
Examples
References
from
examples
Code
Location
int
mbedtls_net_set_block
(
mbedtls_net_context
*
ctx
)
net_sockets.c:318
int
mbedtls_net_set_block
(
mbedtls_net_context
*
ctx
)
;
net_sockets.h:195
Call Tree
from
examples
mbedtls_net_set_block()
calls 1 function:
All items filtered out
mbedtls_net_set_block()
fcntl()
All items filtered out
Data Use
from
examples
mbedtls_net_set_block()
reads 1 variable:
mbedtls_net_context::fd
All items filtered out
mbedtls_net_set_block()
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