Found 10 other functions taking a
mbedtls_net_context
argument:
Initialize a context Just makes the context ready to be used or freed safely.
Gracefully shutdown the connection and free associated data
Initiate a connection with host:port in the given protocol
Create a receiving socket on bind_ip:port in the chosen protocol. If bind_ip == NULL, all interfaces are bound.
Accept a connection from a remote client
Set the socket non-blocking
Check and wait for the context to be ready for read/write
Closes down the connection and free associated data