1 /** 2 * \file doc_tcpip.h 3 * 4 * \brief TCP/IP communication module documentation file. 5 */ 6 /* 7 * 8 * Copyright The Mbed TLS Contributors 9 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 10 */ 11 12 /** 13 * @addtogroup tcpip_communication_module TCP/IP communication module 14 * 15 * The TCP/IP communication module provides for a channel of 16 * communication for the \link ssltls_communication_module SSL/TLS communication 17 * module\endlink to use. 18 * In the TCP/IP-model it provides for communication up to the Transport 19 * (or Host-to-host) layer. 20 * SSL/TLS resides on top of that, in the Application layer, and makes use of 21 * its basic provisions: 22 * - listening on a port (see \c mbedtls_net_bind()). 23 * - accepting a connection (through \c mbedtls_net_accept()). 24 * - read/write (through \c mbedtls_net_recv()/\c mbedtls_net_send()). 25 * - close a connection (through \c mbedtls_net_close()). 26 * 27 * This way you have the means to, for example, implement and use an UDP or 28 * IPSec communication solution as a basis. 29 * 30 * This module can be used at server- and clientside to provide a basic 31 * means of communication over the internet. 32 */ 33