Annotation of embedaddon/mpd/doc/mpd45.html, revision 1.1

1.1     ! misho       1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
        !             2: <HTML>
        !             3: <HEAD>
        !             4: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
        !             5: <TITLE>TCP device type commands</TITLE>
        !             6: </HEAD>
        !             7: <BODY text="#000000" bgcolor="#ffffff">
        !             8: 
        !             9: <A HREF="mpd.html"><EM>Mpd 5.6 User Manual</EM></A>
        !            10:  <b>:</b> <A HREF="mpd42.html"><EM>Device Types</EM></A>
        !            11:  <b>:</b> <EM>TCP device type commands</EM><BR>
        !            12: <b>Previous:</b> <A HREF="mpd44.html"><EM>Netgraph device type commands</EM></A><BR>
        !            13: <b>Next:</b> <A HREF="mpd46.html"><EM>UDP device type commands</EM></A>
        !            14: 
        !            15: 
        !            16: <HR NOSHADE>
        !            17:   <H2><A NAME="45"></A>5.3. TCP device type commands<A NAME="tcp"></A></H2>
        !            18: <p>This chapter describes commands that are specific to TCP type links.
        !            19: These commands apply to the currently active link, and are only
        !            20: valid if the currently active link has type <b>tcp</b>.</p>
        !            21: <p>Due to limitations of ng_ksocket module this device type have two issues:
        !            22: <ul>
        !            23: <li>when there are no free incoming link, new connection will anyway 
        !            24: be acceped and then dropped instead of not accepting it,</li>
        !            25: <li>tcp connection status is not monitored, so you should use 
        !            26: 'set link keep-alive' to detect broken links.</li>
        !            27: </ul>
        !            28: </p>
        !            29: <p>
        !            30: <dl>
        !            31: 
        !            32: <dt><b><code>set tcp self <em>ipaddr</em> [ <em>port</em> ]</code></b><dd><p>Sets the local IP address and port for the TCP connection.
        !            33: Port field is required for accepting incoming connections.</p>
        !            34: 
        !            35: <dt><b><code>set tcp peer <em>ipaddr</em> [ <em>port</em> ]</code></b><dd><p>Sets the peer IP address and port for the TCP connection.
        !            36: Address and port fields are required for outgoing connections.
        !            37: For incoming connections it is not required, but can limit who can connect to us.</p>
        !            38: 
        !            39: </dl>
        !            40: </p>
        !            41: 
        !            42: <p>The following options are supported:</p>
        !            43: <p>
        !            44: <dl>
        !            45: 
        !            46: <dt><b><code>resolve-once</code></b><dd><p>Enables resolving peer address only once, on startup, or on manual
        !            47: typing in CLI.</p>
        !            48: <p>The default is enable.</p>
        !            49: 
        !            50: </dl>
        !            51: 
        !            52: </p>
        !            53: 
        !            54: 
        !            55:  <HR NOSHADE>
        !            56: <A HREF="mpd.html"><EM>Mpd 5.6 User Manual</EM></A>
        !            57:  <b>:</b> <A HREF="mpd42.html"><EM>Device Types</EM></A>
        !            58:  <b>:</b> <EM>TCP device type commands</EM><BR>
        !            59: <b>Previous:</b> <A HREF="mpd44.html"><EM>Netgraph device type commands</EM></A><BR>
        !            60: <b>Next:</b> <A HREF="mpd46.html"><EM>UDP device type commands</EM></A>
        !            61: 
        !            62: 
        !            63: 
        !            64: </BODY>
        !            65: </HTML>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>