Connected: An Internet Encyclopedia
4.5. Example 5 - interruption due to operator request

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 977
Up: 4. Sample Conversations
Prev: 4.4. Example 4 - posting a news article
Next: 4.6. Example 6 - Using the news server to distribute news between systems

4.5. Example 5 - interruption due to operator request

4.5. Example 5 - interruption due to operator request

   S:      (listens at TCP port 119)

   C:      (requests connection on TCP port 119)
   S:      201 genericvax news server ready, no posting allowed.

           (assume normal conversation for some time, and
           that a newsgroup has been selected)

   C:      NEXT
   S:      223 1013 <5734@mcvax.UUCP> Article retrieved; text separate.

   C:      HEAD
   C:      221 1013 <5734@mcvax.UUCP> Article retrieved; head follows.

   S:      (sends head of article, but halfway through is
           interrupted by an operator request.  The following
           then occurs, without client intervention.)

   S:      (ends current line with a CR-LF pair)
   S:      .
   S:      400 Connection closed by operator.  Goodbye.
   S:      (closes connection)


Next: 4.6. Example 6 - Using the news server to distribute news between systems

Connected: An Internet Encyclopedia
4.5. Example 5 - interruption due to operator request