⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tcp__ip_8h.html

📁 Freescale mcu OpenTCP-1.0.4.doc.html.zip 文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
      &nbsp;    </td>    <td><p>If TCP socket entry is of client type, application using it can establish connection through it towards other Internet hosts but can not accept any incoming connections on the port (execute <a class="el" href="group__tcp__app__api.html#a2">tcp_listen()</a> on it that is). <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00320">320</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="pop3__client_8c-source.html#l00148">pop3c_init()</a>, <a class="el" href="smtp__client_8c-source.html#l00155">smtpc_init()</a>, <a class="el" href="tcp_8c-source.html#l00377">tcp_connect()</a>, and <a class="el" href="tcp_8c-source.html#l00155">tcp_getsocket()</a>.    </td>  </tr></table><a name="a41" doxytag="tcp_ip.h::TCP_TYPE_CLIENT_SERVER"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define TCP_TYPE_CLIENT_SERVER&nbsp;&nbsp;&nbsp;0x03      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>If TCP socket entry is of this type, application using it can  both listen on a given socket or establish connection towards an outside host. <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00329">329</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l00155">tcp_getsocket()</a>.    </td>  </tr></table><a name="a42" doxytag="tcp_ip.h::TCP_STATE_FREE"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define TCP_STATE_FREE&nbsp;&nbsp;&nbsp;1      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Entry is free and unused <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00333">333</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>, <a class="el" href="tcp_8c-source.html#l00736">tcp_abort()</a>, <a class="el" href="tcp_8c-source.html#l00155">tcp_getsocket()</a>, <a class="el" href="tcp_8c-source.html#l01154">tcp_init()</a>, <a class="el" href="tcp_8c-source.html#l00808">tcp_poll()</a>, and <a class="el" href="tcp_8c-source.html#l00228">tcp_releasesocket()</a>.    </td>  </tr></table><a name="a43" doxytag="tcp_ip.h::TCP_STATE_RESERVED"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define TCP_STATE_RESERVED&nbsp;&nbsp;&nbsp;2      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Entry is reserved for use <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00334">334</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l00736">tcp_abort()</a>, <a class="el" href="tcp_8c-source.html#l00377">tcp_connect()</a>, <a class="el" href="tcp_8c-source.html#l00155">tcp_getsocket()</a>, <a class="el" href="tcp_8c-source.html#l00290">tcp_listen()</a>, <a class="el" href="tcp_8c-source.html#l00808">tcp_poll()</a>, and <a class="el" href="tcp_8c-source.html#l00228">tcp_releasesocket()</a>.    </td>  </tr></table><a name="a44" doxytag="tcp_ip.h::TCP_STATE_CLOSED"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define TCP_STATE_CLOSED&nbsp;&nbsp;&nbsp;3      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Entry allocated, socket still closed <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00335">335</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>, <a class="el" href="tcp_8c-source.html#l00736">tcp_abort()</a>, <a class="el" href="tcp_8c-source.html#l00549">tcp_close()</a>, <a class="el" href="tcp_8c-source.html#l00377">tcp_connect()</a>, <a class="el" href="tcp_8c-source.html#l02511">tcp_getfreeport()</a>, <a class="el" href="tcp_8c-source.html#l00290">tcp_listen()</a>, <a class="el" href="tcp_8c-source.html#l00808">tcp_poll()</a>, and <a class="el" href="tcp_8c-source.html#l00228">tcp_releasesocket()</a>.    </td>  </tr></table><a name="a45" doxytag="tcp_ip.h::TCP_STATE_LISTENING"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define TCP_STATE_LISTENING&nbsp;&nbsp;&nbsp;4      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Socket in listening state, waiting for incoming connections <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00336">336</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>, <a class="el" href="tcp_8c-source.html#l00736">tcp_abort()</a>, <a class="el" href="tcp_8c-source.html#l00549">tcp_close()</a>, <a class="el" href="tcp_8c-source.html#l00377">tcp_connect()</a>, <a class="el" href="tcp_8c-source.html#l00290">tcp_listen()</a>, <a class="el" href="tcp_8c-source.html#l02369">tcp_mapsocket()</a>, and <a class="el" href="tcp_8c-source.html#l00808">tcp_poll()</a>.    </td>  </tr></table><a name="a46" doxytag="tcp_ip.h::TCP_STATE_SYN_RECEIVED"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define TCP_STATE_SYN_RECEIVED&nbsp;&nbsp;&nbsp;5      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>SYN packet received (either first SYN packet or response to SYN that we have previously sent) <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00339">339</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>, <a class="el" href="tcp_8c-source.html#l00736">tcp_abort()</a>, <a class="el" href="tcp_8c-source.html#l00549">tcp_close()</a>, and <a class="el" href="tcp_8c-source.html#l00808">tcp_poll()</a>.    </td>  </tr></table><a name="a47" doxytag="tcp_ip.h::TCP_STATE_SYN_SENT"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define TCP_STATE_SYN_SENT&nbsp;&nbsp;&nbsp;6      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>SYN packet sent as an attempt to establish a connection <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00343">343</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>, <a class="el" href="tcp_8c-source.html#l00736">tcp_abort()</a>, <a class="el" href="tcp_8c-source.html#l00549">tcp_close()</a>, <a class="el" href="tcp_8c-source.html#l00377">tcp_connect()</a>, <a class="el" href="tcp_8c-source.html#l02455">tcp_newstate()</a>, and <a class="el" href="tcp_8c-source.html#l00808">tcp_poll()</a>.    </td>  </tr></table><a name="a48" doxytag="tcp_ip.h::TCP_STATE_FINW1"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define TCP_STATE_FINW1&nbsp;&nbsp;&nbsp;7      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>User issued tcp_close request issued so FIN packet was sent <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00346">346</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>, <a class="el" href="tcp_8c-source.html#l00736">tcp_abort()</a>, <a class="el" href="tcp_8c-source.html#l00549">tcp_close()</a>, <a class="el" href="tcp_8c-source.html#l02455">tcp_newstate()</a>, and <a class="el" href="tcp_8c-source.html#l00808">tcp_poll()</a>.    </td>  </tr></table><a name="a49" doxytag="tcp_ip.h::TCP_STATE_FINW2"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define TCP_STATE_FINW2&nbsp;&nbsp;&nbsp;8      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -