<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>PolarSSL v1.3.8: TCP/IP communication module</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">PolarSSL v1.3.8 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">TCP/IP communication module</div> </div> </div><!--header--> <div class="contents"> <p>The TCP/IP communication module provides for a channel of communication for the <a class="el" href="group__ssltls__communication__module.html">SSL/TLS communication module</a> to use. <a href="#details">More...</a></p> <p>The TCP/IP communication module provides for a channel of communication for the <a class="el" href="group__ssltls__communication__module.html">SSL/TLS communication module</a> to use. </p> <p>In the TCP/IP-model it provides for communication up to the Transport (or Host-to-host) layer. SSL/TLS resides on top of that, in the Application layer, and makes use of its basic provisions:</p> <ul> <li>listening on a port (see <code><a class="el" href="net_8h.html#a070a7665a1c2c3a5dc4d78aeef0f29de" title="Create a listening socket on bind_ip:port. ">net_bind()</a></code>).</li> <li>accepting a connection (through <code><a class="el" href="net_8h.html#aa7c66d2cf24804b92805eb6e598a9763" title="Accept a connection from a remote client. ">net_accept()</a></code>).</li> <li>read/write (through <code><a class="el" href="net_8h.html#aa76688ccbf03470a6cfc61c025758e9f" title="Read at most 'len' characters. ">net_recv()</a>/<code><a class="el" href="net_8h.html#ab14d74cc7497b93580c6a6ddb7c77561" title="Write at most 'len' characters. ">net_send()</a></code>)</code>.</li> <li>close a connection (through <code><a class="el" href="net_8h.html#a1b0cf7ff43e2f8edb76e2f4724732cc6" title="Gracefully shutdown the connection. ">net_close()</a></code>).</li> </ul> <p>This way you have the means to, for example, implement and use an UDP or IPSec communication solution as a basis.</p> <p>This module can be used at server- and clientside to provide a basic means of communication over the internet. </p> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu Jul 31 2014 11:35:56 for PolarSSL v1.3.8 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>