/usr/share/doc/racket/net/nntp.html is in racket-doc 6.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>16 NNTP: Newsgroup Protocol</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_0");">▼</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">Net:<span class="mywbr"> </span> Networking Libraries</a></td></tr></table></div><div class="tocviewsublisttop" style="display: block;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1 </td><td><a href="http-client.html" class="tocviewlink" data-pltdoc="x">HTTP Client</a></td></tr><tr><td align="right">2 </td><td><a href="url.html" class="tocviewlink" data-pltdoc="x">URLs and HTTP</a></td></tr><tr><td align="right">3 </td><td><a href="uri-codec.html" class="tocviewlink" data-pltdoc="x">URI Codec:<span class="mywbr"> </span> Encoding and Decoding URIs</a></td></tr><tr><td align="right">4 </td><td><a href="websocket.html" class="tocviewlink" data-pltdoc="x">Web<span class="mywbr"> </span>Socket</a></td></tr><tr><td align="right">5 </td><td><a href="ftp.html" class="tocviewlink" data-pltdoc="x">FTP:<span class="mywbr"> </span> Client</a></td></tr><tr><td align="right">6 </td><td><a href="sendurl.html" class="tocviewlink" data-pltdoc="x">Send URL:<span class="mywbr"> </span> Opening a Web Browser</a></td></tr><tr><td align="right">7 </td><td><a href="smtp.html" class="tocviewlink" data-pltdoc="x">SMTP:<span class="mywbr"> </span> Sending E-<wbr></wbr>Mail</a></td></tr><tr><td align="right">8 </td><td><a href="sendmail.html" class="tocviewlink" data-pltdoc="x"><span class="stt">sendmail</span>:<span class="mywbr"> </span> Sending E-<wbr></wbr>Mail</a></td></tr><tr><td align="right">9 </td><td><a href="head.html" class="tocviewlink" data-pltdoc="x">Headers:<span class="mywbr"> </span> Parsing and Constructing</a></td></tr><tr><td align="right">10 </td><td><a href="imap.html" class="tocviewlink" data-pltdoc="x">IMAP:<span class="mywbr"> </span> Reading Mail</a></td></tr><tr><td align="right">11 </td><td><a href="pop3.html" class="tocviewlink" data-pltdoc="x">POP3:<span class="mywbr"> </span> Reading Mail</a></td></tr><tr><td align="right">12 </td><td><a href="mime.html" class="tocviewlink" data-pltdoc="x">MIME:<span class="mywbr"> </span> Decoding Internet Data</a></td></tr><tr><td align="right">13 </td><td><a href="base64.html" class="tocviewlink" data-pltdoc="x">Base 64:<span class="mywbr"> </span> Encoding and Decoding</a></td></tr><tr><td align="right">14 </td><td><a href="qp.html" class="tocviewlink" data-pltdoc="x">Quoted-<wbr></wbr>Printable:<span class="mywbr"> </span> Encoding and Decoding</a></td></tr><tr><td align="right">15 </td><td><a href="dns.html" class="tocviewlink" data-pltdoc="x">DNS:<span class="mywbr"> </span> Domain Name Service Queries</a></td></tr><tr><td align="right">16 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">NNTP:<span class="mywbr"> </span> Newsgroup Protocol</a></td></tr><tr><td align="right">17 </td><td><a href="tcp.html" class="tocviewlink" data-pltdoc="x">TCP:<span class="mywbr"> </span> Unit and Signature</a></td></tr><tr><td align="right">18 </td><td><a href="tcp-redirect.html" class="tocviewlink" data-pltdoc="x">TCP Redirect:<span class="mywbr"> </span> <span class="RktSym"><span class="RktStxLink">tcp^</span></span> via Channels</a></td></tr><tr><td align="right">19 </td><td><a href="ssl-tcp-unit.html" class="tocviewlink" data-pltdoc="x">SSL Unit:<span class="mywbr"> </span> <span class="RktSym"><span class="RktStxLink">tcp^</span></span> via SSL</a></td></tr><tr><td align="right">20 </td><td><a href="cgi.html" class="tocviewlink" data-pltdoc="x">CGI Scripts</a></td></tr><tr><td align="right">21 </td><td><a href="cookie.html" class="tocviewlink" data-pltdoc="x">Cookie:<span class="mywbr"> </span> HTTP Client Storage</a></td></tr><tr><td align="right"></td><td><a href="doc-bibliography.html" class="tocviewlink" data-pltdoc="x">Bibliography</a></td></tr><tr><td align="right"></td><td><a href="doc-index.html" class="tocviewlink" data-pltdoc="x">Index</a></td></tr></table></div></div><div class="tocviewlist"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_1");">►</a></td><td>16 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">NNTP:<span class="mywbr"> </span> Newsgroup Protocol</a></td></tr></table><div class="tocviewsublistbottom" style="display: none;" id="tocview_1"><table cellspacing="0" cellpadding="0"><tr><td align="right">16.1 </td><td><a href="#%28part._.Connection_and_.Operations%29" class="tocviewlink" data-pltdoc="x">Connection and Operations</a></td></tr><tr><td align="right">16.2 </td><td><a href="#%28part._.Exceptions%29" class="tocviewlink" data-pltdoc="x">Exceptions</a></td></tr><tr><td align="right">16.3 </td><td><a href="#%28part._.N.N.T.P_.Unit%29" class="tocviewlink" data-pltdoc="x">NNTP Unit</a></td></tr><tr><td align="right">16.4 </td><td><a href="#%28part._.N.N.T.P_.Signature%29" class="tocviewlink" data-pltdoc="x">NNTP Signature</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><span class="tocsublinknumber">16.1<tt> </tt></span><a href="#%28part._.Connection_and_.Operations%29" class="tocsubseclink" data-pltdoc="x">Connection and Operations</a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._communicator%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">communicator</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._connect-to-server%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">connect-<wbr></wbr>to-<wbr></wbr>server</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._disconnect-from-server%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">disconnect-<wbr></wbr>from-<wbr></wbr>server</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._open-news-group%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">open-<wbr></wbr>news-<wbr></wbr>group</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._authenticate-user%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">authenticate-<wbr></wbr>user</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._head-of-message%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">head-<wbr></wbr>of-<wbr></wbr>message</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._body-of-message%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">body-<wbr></wbr>of-<wbr></wbr>message</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._newnews-since%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">newnews-<wbr></wbr>since</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._generic-message-command%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">generic-<wbr></wbr>message-<wbr></wbr>command</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._make-desired-header%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">make-<wbr></wbr>desired-<wbr></wbr>header</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._extract-desired-headers%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">extract-<wbr></wbr>desired-<wbr></wbr>headers</span></span></a></td></tr><tr><td><span class="tocsublinknumber">16.2<tt> </tt></span><a href="#%28part._.Exceptions%29" class="tocsubseclink" data-pltdoc="x">Exceptions</a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._nntp%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">nntp</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._unexpected-response%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">unexpected-<wbr></wbr>response</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._bad-status-line%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">bad-<wbr></wbr>status-<wbr></wbr>line</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._premature-close%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">premature-<wbr></wbr>close</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._bad-newsgroup-line%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">bad-<wbr></wbr>newsgroup-<wbr></wbr>line</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._non-existent-group%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">non-<wbr></wbr>existent-<wbr></wbr>group</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._article-not-in-group%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">article-<wbr></wbr>not-<wbr></wbr>in-<wbr></wbr>group</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._no-group-selected%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">no-<wbr></wbr>group-<wbr></wbr>selected</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._article-not-found%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">article-<wbr></wbr>not-<wbr></wbr>found</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._authentication-rejected%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">authentication-<wbr></wbr>rejected</span></span></a></td></tr><tr><td><span class="tocsublinknumber">16.3<tt> </tt></span><a href="#%28part._.N.N.T.P_.Unit%29" class="tocsubseclink" data-pltdoc="x">NNTP Unit</a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fnntp-unit..rkt%29._nntp~40%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">nntp@</span></span></a></td></tr><tr><td><span class="tocsublinknumber">16.4<tt> </tt></span><a href="#%28part._.N.N.T.P_.Signature%29" class="tocsubseclink" data-pltdoc="x">NNTP Signature</a></td></tr><tr><td><a href="#%28form._%28%28lib._net%2Fnntp-sig..rkt%29._nntp~5e%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">nntp^</span></span></a></td></tr></table></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.1", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.1");">top</a></span><span class="navright"> <a href="dns.html" title="backward to "15 DNS: Domain Name Service Queries"" data-pltdoc="x">← prev</a> <a href="index.html" title="up to "Net: Networking Libraries"" data-pltdoc="x">up</a> <a href="tcp.html" title="forward to "17 TCP: Unit and Signature"" data-pltdoc="x">next →</a></span> </div><h3 x-source-module="(lib "net/scribblings/net.scrbl")" x-part-tag=""nntp"">16<tt> </tt><a name="(part._nntp)"></a><a name="(mod-path._net/nntp)"></a>NNTP: Newsgroup Protocol</h3><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">net/nntp</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">net-lib</span></span></td></tr></table></div><div class="SIntrapara">The <a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">net/nntp</span></a> module provides
tools to access Usenet group via NNTP [<a href="doc-bibliography.html#%28cite._.R.F.C977%29" data-pltdoc="x">RFC977</a>].</div></p><h4 x-source-module="(lib "net/scribblings/net.scrbl")" x-part-tag=""Connection_and_Operations"">16.1<tt> </tt><a name="(part._.Connection_and_.Operations)"></a>Connection and Operations</h4><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/nntp..rkt)._communicator-port))"></a><a name="(def._((lib._net/nntp..rkt)._communicator-server))"></a><a name="(def._((lib._net/nntp..rkt)._communicator-receiver))"></a><a name="(def._((lib._net/nntp..rkt)._communicator-sender))"></a><a name="(def._((lib._net/nntp..rkt)._make-communicator))"></a><a name="(def._((lib._net/nntp..rkt)._communicator~3f))"></a><a name="(def._((lib._net/nntp..rkt)._struct~3acommunicator))"></a><a name="(def._((lib._net/nntp..rkt)._communicator))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._communicator%29%29" class="RktValDef RktValLink" data-pltdoc="x">communicator</a></span></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym">sender</span><span class="stt"> </span><span class="RktSym">receiver</span><span class="stt"> </span><span class="RktSym">server</span><span class="stt"> </span><span class="RktSym">port</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._make-communicator%29%29" class="RktValLink" data-pltdoc="x">make-communicator</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">sender</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=port-ops.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._output-port%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">output-port?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">receiver</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=port-ops.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._input-port%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">input-port?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">server</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">port</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._integer-in%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">integer-in</a></span><span class="hspace"> </span><span class="RktVal">0</span><span class="hspace"> </span><span class="RktVal">65535</span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Once a connection to a Usenet server has been established, its state
is stored in a <span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._communicator%29%29" class="RktValLink" data-pltdoc="x">communicator</a></span>, and other procedures take
communicators as an argument.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._net/nntp..rkt)._connect-to-server))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._connect-to-server%29%29" class="RktValDef RktValLink" data-pltdoc="x">connect-to-server</a></span></span><span class="hspace"> </span><span class="RktVar">server</span><span class="hspace"> </span>[<span class="RktVar">port-number</span>]<span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._communicator~3f%29%29" class="RktValLink" data-pltdoc="x">communicator?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">server</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">port-number</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._integer-in%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">integer-in</a></span><span class="hspace"> </span><span class="RktVal">0</span><span class="hspace"> </span><span class="RktVal">65535</span><span class="RktPn">)</span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">119</span></td></tr></table></blockquote></div><div class="SIntrapara">Connects to <span class="RktVar">server</span> at <span class="RktVar">port-number</span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._net/nntp..rkt)._disconnect-from-server))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._disconnect-from-server%29%29" class="RktValDef RktValLink" data-pltdoc="x">disconnect-from-server</a></span></span><span class="hspace"> </span><span class="RktVar">communicator</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">communicator</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._communicator~3f%29%29" class="RktValLink" data-pltdoc="x">communicator?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Disconnects an NNTP communicator.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._net/nntp..rkt)._open-news-group))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._open-news-group%29%29" class="RktValDef RktValLink" data-pltdoc="x">open-news-group</a></span></span><span class="hspace"> </span><span class="RktVar">communicator</span><span class="hspace"> </span><span class="RktVar">newsgroup</span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="prototype"><tr><td><span class="hspace"> </span></td><td>→</td><td><span class="hspace"> </span></td><td><table cellspacing="0" cellpadding="0"><tr><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-nonnegative-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-nonnegative-integer?</a></span></td></tr><tr><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-nonnegative-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-nonnegative-integer?</a></span></td></tr><tr><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-nonnegative-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-nonnegative-integer?</a></span></td></tr></table></td></tr></table></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">communicator</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._communicator~3f%29%29" class="RktValLink" data-pltdoc="x">communicator?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">newsgroup</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Selects the newsgroup of an NNTP connection. The returned values are
the total number of articles in the group, the first available
article, and the last available article.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td><span class="RktPn">(</span><a name="(def._((lib._net/nntp..rkt)._authenticate-user))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._authenticate-user%29%29" class="RktValDef RktValLink" data-pltdoc="x">authenticate-user</a></span></span></td><td><span class="hspace"> </span></td><td><span class="RktVar">communicator</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">username</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">password</span><span class="RktPn">)</span></td><td><span class="hspace"> </span></td><td>→</td><td><span class="hspace"> </span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">communicator</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._communicator~3f%29%29" class="RktValLink" data-pltdoc="x">communicator?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">username</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">password</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Tries to authenticate a user with the original authinfo command (uses
cleartext). The <span class="RktVar">password</span> argument is ignored if the server
does not ask for it.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td><span class="RktPn">(</span><a name="(def._((lib._net/nntp..rkt)._head-of-message))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._head-of-message%29%29" class="RktValDef RktValLink" data-pltdoc="x">head-of-message</a></span></span></td><td><span class="hspace"> </span></td><td><span class="RktVar">communicator</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">message-index</span><span class="RktPn">)</span></td><td><span class="hspace"> </span></td><td>→</td><td><span class="hspace"> </span></td><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">communicator</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._communicator~3f%29%29" class="RktValLink" data-pltdoc="x">communicator?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">message-index</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-nonnegative-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-nonnegative-integer?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Given a message number, returns its header lines.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td><span class="RktPn">(</span><a name="(def._((lib._net/nntp..rkt)._body-of-message))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._body-of-message%29%29" class="RktValDef RktValLink" data-pltdoc="x">body-of-message</a></span></span></td><td><span class="hspace"> </span></td><td><span class="RktVar">communicator</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">message-index</span><span class="RktPn">)</span></td><td><span class="hspace"> </span></td><td>→</td><td><span class="hspace"> </span></td><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">communicator</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._communicator~3f%29%29" class="RktValLink" data-pltdoc="x">communicator?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">message-index</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-nonnegative-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-nonnegative-integer?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Given a message number, returns the body of the message.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._net/nntp..rkt)._newnews-since))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._newnews-since%29%29" class="RktValDef RktValLink" data-pltdoc="x">newnews-since</a></span></span><span class="hspace"> </span><span class="RktVar">communicator</span><span class="hspace"> </span><span class="RktVar">message-index</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">communicator</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._communicator~3f%29%29" class="RktValLink" data-pltdoc="x">communicator?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">message-index</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-nonnegative-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-nonnegative-integer?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Implements the <span class="stt">NEWNEWS</span> command (often disabled on servers).</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td><span class="RktPn">((</span><a name="(def._((lib._net/nntp..rkt)._generic-message-command))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._generic-message-command%29%29" class="RktValDef RktValLink" data-pltdoc="x">generic-message-command</a></span></span></td><td><span class="hspace"> </span></td><td><span class="RktVar">command</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">ok-code</span><span class="RktPn">)</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">communicator</span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktVar">message-index</span><span class="RktPn">)</span></td><td><span class="hspace"> </span></td><td>→</td><td><span class="hspace"> </span></td><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">command</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">ok-code</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-integer?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">communicator</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._communicator~3f%29%29" class="RktValLink" data-pltdoc="x">communicator?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">message-index</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-nonnegative-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-nonnegative-integer?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Useful primitive for implementing <span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._head-of-message%29%29" class="RktValLink" data-pltdoc="x">head-of-message</a></span>,
<span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._body-of-message%29%29" class="RktValLink" data-pltdoc="x">body-of-message</a></span> and other similar commands.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._net/nntp..rkt)._make-desired-header))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._make-desired-header%29%29" class="RktValDef RktValLink" data-pltdoc="x">make-desired-header</a></span></span><span class="hspace"> </span><span class="RktVar">tag-string</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=regexp.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._regexp%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">regexp?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">tag-string</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Takes a header field’s tag and returns a regexp to match the field</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._net/nntp..rkt)._extract-desired-headers))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._extract-desired-headers%29%29" class="RktValDef RktValLink" data-pltdoc="x">extract-desired-headers</a></span></span><span class="hspace"> </span><span class="RktVar">header</span><span class="hspace"> </span><span class="RktVar">desireds</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">header</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">desireds</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=regexp.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._regexp%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">regexp?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Given a list of header lines and of desired regexps, returns the
header lines that match any of the <span class="RktVar">desireds</span>.</div></p><h4 x-source-module="(lib "net/scribblings/net.scrbl")" x-part-tag=""Exceptions"">16.2<tt> </tt><a name="(part._.Exceptions)"></a>Exceptions</h4><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/nntp..rkt)._make-nntp))"></a><a name="(def._((lib._net/nntp..rkt)._nntp~3f))"></a><a name="(def._((lib._net/nntp..rkt)._struct~3anntp))"></a><a name="(def._((lib._net/nntp..rkt)._nntp))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._nntp%29%29" class="RktValDef RktValLink" data-pltdoc="x">nntp</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=exns.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._exn%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exn</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._make-nntp%29%29" class="RktValLink" data-pltdoc="x">make-nntp</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">The supertype of all NNTP exceptions.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/nntp..rkt)._unexpected-response-text))"></a><a name="(def._((lib._net/nntp..rkt)._unexpected-response-code))"></a><a name="(def._((lib._net/nntp..rkt)._make-unexpected-response))"></a><a name="(def._((lib._net/nntp..rkt)._unexpected-response~3f))"></a><a name="(def._((lib._net/nntp..rkt)._struct~3aunexpected-response))"></a><a name="(def._((lib._net/nntp..rkt)._unexpected-response))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._unexpected-response%29%29" class="RktValDef RktValLink" data-pltdoc="x">unexpected-response</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._nntp%29%29" class="RktValLink" data-pltdoc="x">nntp</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym">code</span><span class="stt"> </span><span class="RktSym">text</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._make-unexpected-response%29%29" class="RktValLink" data-pltdoc="x">make-unexpected-response</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">code</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-integer?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">text</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Raised whenever an unexpected response code is received. The
<span class="RktSym">text</span> field holds the response text sent by the server.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/nntp..rkt)._bad-status-line-line))"></a><a name="(def._((lib._net/nntp..rkt)._make-bad-status-line))"></a><a name="(def._((lib._net/nntp..rkt)._bad-status-line~3f))"></a><a name="(def._((lib._net/nntp..rkt)._struct~3abad-status-line))"></a><a name="(def._((lib._net/nntp..rkt)._bad-status-line))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._bad-status-line%29%29" class="RktValDef RktValLink" data-pltdoc="x">bad-status-line</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._nntp%29%29" class="RktValLink" data-pltdoc="x">nntp</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym">line</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._make-bad-status-line%29%29" class="RktValLink" data-pltdoc="x">make-bad-status-line</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">line</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Raised for mal-formed status lines.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/nntp..rkt)._premature-close-communicator))"></a><a name="(def._((lib._net/nntp..rkt)._make-premature-close))"></a><a name="(def._((lib._net/nntp..rkt)._premature-close~3f))"></a><a name="(def._((lib._net/nntp..rkt)._struct~3apremature-close))"></a><a name="(def._((lib._net/nntp..rkt)._premature-close))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._premature-close%29%29" class="RktValDef RktValLink" data-pltdoc="x">premature-close</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._nntp%29%29" class="RktValLink" data-pltdoc="x">nntp</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym">communicator</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._make-premature-close%29%29" class="RktValLink" data-pltdoc="x">make-premature-close</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">communicator</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._communicator~3f%29%29" class="RktValLink" data-pltdoc="x">communicator?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Raised when a remote server closes its connection unexpectedly.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/nntp..rkt)._bad-newsgroup-line-line))"></a><a name="(def._((lib._net/nntp..rkt)._make-bad-newsgroup-line))"></a><a name="(def._((lib._net/nntp..rkt)._bad-newsgroup-line~3f))"></a><a name="(def._((lib._net/nntp..rkt)._struct~3abad-newsgroup-line))"></a><a name="(def._((lib._net/nntp..rkt)._bad-newsgroup-line))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._bad-newsgroup-line%29%29" class="RktValDef RktValLink" data-pltdoc="x">bad-newsgroup-line</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._nntp%29%29" class="RktValLink" data-pltdoc="x">nntp</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym">line</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._make-bad-newsgroup-line%29%29" class="RktValLink" data-pltdoc="x">make-bad-newsgroup-line</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">line</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Raised when the newsgroup line is improperly formatted.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/nntp..rkt)._non-existent-group-group))"></a><a name="(def._((lib._net/nntp..rkt)._make-non-existent-group))"></a><a name="(def._((lib._net/nntp..rkt)._non-existent-group~3f))"></a><a name="(def._((lib._net/nntp..rkt)._struct~3anon-existent-group))"></a><a name="(def._((lib._net/nntp..rkt)._non-existent-group))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._non-existent-group%29%29" class="RktValDef RktValLink" data-pltdoc="x">non-existent-group</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._nntp%29%29" class="RktValLink" data-pltdoc="x">nntp</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym">group</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._make-non-existent-group%29%29" class="RktValLink" data-pltdoc="x">make-non-existent-group</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">group</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Raised when the server does not recognize the name of the requested
group.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/nntp..rkt)._article-not-in-group-article))"></a><a name="(def._((lib._net/nntp..rkt)._make-article-not-in-group))"></a><a name="(def._((lib._net/nntp..rkt)._article-not-in-group~3f))"></a><a name="(def._((lib._net/nntp..rkt)._struct~3aarticle-not-in-group))"></a><a name="(def._((lib._net/nntp..rkt)._article-not-in-group))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._article-not-in-group%29%29" class="RktValDef RktValLink" data-pltdoc="x">article-not-in-group</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._nntp%29%29" class="RktValLink" data-pltdoc="x">nntp</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym">article</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._make-article-not-in-group%29%29" class="RktValLink" data-pltdoc="x">make-article-not-in-group</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">article</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-integer?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Raised when an article is outside the server’s range for that group.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/nntp..rkt)._make-no-group-selected))"></a><a name="(def._((lib._net/nntp..rkt)._no-group-selected~3f))"></a><a name="(def._((lib._net/nntp..rkt)._struct~3ano-group-selected))"></a><a name="(def._((lib._net/nntp..rkt)._no-group-selected))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._no-group-selected%29%29" class="RktValDef RktValLink" data-pltdoc="x">no-group-selected</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._nntp%29%29" class="RktValLink" data-pltdoc="x">nntp</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._make-no-group-selected%29%29" class="RktValLink" data-pltdoc="x">make-no-group-selected</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Raised when an article operation is used before a group has been
selected.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/nntp..rkt)._article-not-found-article))"></a><a name="(def._((lib._net/nntp..rkt)._make-article-not-found))"></a><a name="(def._((lib._net/nntp..rkt)._article-not-found~3f))"></a><a name="(def._((lib._net/nntp..rkt)._struct~3aarticle-not-found))"></a><a name="(def._((lib._net/nntp..rkt)._article-not-found))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._article-not-found%29%29" class="RktValDef RktValLink" data-pltdoc="x">article-not-found</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._nntp%29%29" class="RktValLink" data-pltdoc="x">nntp</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym">article</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._make-article-not-found%29%29" class="RktValLink" data-pltdoc="x">make-article-not-found</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">article</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-integer?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Raised when the server is unable to locate the article.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/nntp..rkt)._make-authentication-rejected))"></a><a name="(def._((lib._net/nntp..rkt)._authentication-rejected~3f))"></a><a name="(def._((lib._net/nntp..rkt)._struct~3aauthentication-rejected))"></a><a name="(def._((lib._net/nntp..rkt)._authentication-rejected))"></a><span title="Provided from: net/nntp | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._authentication-rejected%29%29" class="RktValDef RktValLink" data-pltdoc="x">authentication-rejected</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._nntp%29%29" class="RktValLink" data-pltdoc="x">nntp</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp..rkt%29._make-authentication-rejected%29%29" class="RktValLink" data-pltdoc="x">make-authentication-rejected</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Raised when the server reject an authentication attempt.</div></p><h4 x-source-module="(lib "net/scribblings/net.scrbl")" x-part-tag=""NNTP_Unit"">16.3<tt> </tt><a name="(part._.N.N.T.P_.Unit)"></a><a name="(mod-path._net/nntp-unit)"></a>NNTP Unit</h4><blockquote class="refpara"><blockquote class="refcolumn"><blockquote class="refcontent"><p><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp-unit..rkt%29._nntp~40%29%29" class="RktValLink" data-pltdoc="x">nntp@</a></span> and <span class="RktSym"><a href="#%28form._%28%28lib._net%2Fnntp-sig..rkt%29._nntp~5e%29%29" class="RktStxLink" data-pltdoc="x">nntp^</a></span> are deprecated.
They exist for backward-compatibility and will likely be removed in
the future. New code should use the <a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">net/nntp</span></a> module.</p></blockquote></blockquote></blockquote><p><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._net%2Fnntp-unit%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">net/nntp-unit</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">compatibility-lib</span></span></td></tr></table></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>value</p></div></div><p class="RForeground"><a name="(def._((lib._net/nntp-unit..rkt)._nntp~40))"></a><span title="Provided from: net/nntp-unit | Package: compatibility-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fnntp-unit..rkt%29._nntp~40%29%29" class="RktValDef RktValLink" data-pltdoc="x">nntp@</a></span></span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym">unit?</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Imports nothing, exports <span class="RktSym"><a href="#%28form._%28%28lib._net%2Fnntp-sig..rkt%29._nntp~5e%29%29" class="RktStxLink" data-pltdoc="x">nntp^</a></span>.</div></p><h4 x-source-module="(lib "net/scribblings/net.scrbl")" x-part-tag=""NNTP_Signature"">16.4<tt> </tt><a name="(part._.N.N.T.P_.Signature)"></a><a name="(mod-path._net/nntp-sig)"></a>NNTP Signature</h4><p><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._net%2Fnntp-sig%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">net/nntp-sig</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">compatibility-lib</span></span></td></tr></table></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>signature</p></div></div><p class="RForeground"><a name="(form._((lib._net/nntp-sig..rkt)._nntp~5e))"></a><span title="Provided from: net/nntp-sig | Package: compatibility-lib"><span class="RktSym"><a href="#%28form._%28%28lib._net%2Fnntp-sig..rkt%29._nntp~5e%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">nntp^</a></span></span><span class="hspace"> </span>:<span class="hspace"> </span>signature</p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara"><blockquote class="leftindent"></blockquote></div></p><p>Includes everything exported by the <a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">net/nntp</span></a> module.</p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.1", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.1");">top</a></span><span class="navright"> <a href="dns.html" title="backward to "15 DNS: Domain Name Service Queries"" data-pltdoc="x">← prev</a> <a href="index.html" title="up to "Net: Networking Libraries"" data-pltdoc="x">up</a> <a href="tcp.html" title="forward to "17 TCP: Unit and Signature"" data-pltdoc="x">next →</a></span> </div></div></div><div id="contextindicator"> </div></body></html>
|