blob: 34d3ca1b520c19c221bd3d8c3a72f25bb3aa21ae [file] [log] [blame]
Paul Bakker37ca75d2011-01-06 12:28:03 +00001/**
2 * @file
3 * TCP/IP communication module documentation file.
Manuel Pégourié-Gonnard8119dad2015-08-06 10:59:26 +02004 *
5 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
Manuel Pégourié-Gonnard37ff1402015-09-04 14:21:07 +02006 * SPDX-License-Identifier: Apache-2.0
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License"); you may
9 * not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
16 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
Manuel Pégourié-Gonnard8119dad2015-08-06 10:59:26 +020019 *
20 * This file is part of mbed TLS (https://tls.mbed.org)
Paul Bakker37ca75d2011-01-06 12:28:03 +000021 */
22
23/**
24 * @addtogroup tcpip_communication_module TCP/IP communication module
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020025 *
Paul Bakker37ca75d2011-01-06 12:28:03 +000026 * The TCP/IP communication module provides for a channel of
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020027 * communication for the \link ssltls_communication_module SSL/TLS communication
28 * module\endlink to use.
29 * In the TCP/IP-model it provides for communication up to the Transport
30 * (or Host-to-host) layer.
Paul Bakker37ca75d2011-01-06 12:28:03 +000031 * SSL/TLS resides on top of that, in the Application layer, and makes use of
32 * its basic provisions:
Manuel Pégourié-Gonnard151dc772015-05-14 13:55:51 +020033 * - listening on a port (see \c mbedtls_net_bind()).
34 * - accepting a connection (through \c mbedtls_net_accept()).
35 * - read/write (through \c mbedtls_net_recv()/\c mbedtls_net_send()).
36 * - close a connection (through \c mbedtls_net_close()).
Paul Bakker37ca75d2011-01-06 12:28:03 +000037 *
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020038 * This way you have the means to, for example, implement and use an UDP or
Paul Bakker37ca75d2011-01-06 12:28:03 +000039 * IPSec communication solution as a basis.
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020040 *
Paul Bakker37ca75d2011-01-06 12:28:03 +000041 * This module can be used at server- and clientside to provide a basic
42 * means of communication over the internet.
43 */