-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrfc0705.txt
2145 lines (1321 loc) · 69.3 KB
/
rfc0705.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Network Working Group
Request for Comments: 705
NIC# 33644
FRONT - END PROTOCOL
B6700 VERSION
2 September 1975
This is a working document which has been developed as the specification
and guideline for design of a Burroughs B6700 attachment to an ARPA-Style
network.
The approach is to utilize a front-end processor with a new protocol for
network operation. That protocol, described herein, has been built upon
the concepts expressed by M.A. Padlipsky, et al, in NIC# 31117, RFC# 647.
This proposed, site-specific, FEP implementation is the work of Gerald
Bailey and Keith McCloghrie of NSA and of David Grothe of ACC. It has
already sustained some corrections provided by MAP. It will be helpful
if interested networkers will review and provide comments to us.
Comments to BRYAN@ISI.
Roland Bryan - ACC 1
Network Working Group
Request for Comments: 705
Front-End Protocol: B6700 Version
***WORKING DOCUMENT***
FRONT-END PROTOCOL
PREFACE
This document describes the protocol to be used for connecting a general-
purpose computer system (host) to an ARPANET-like network via a "front-end"
computer. The main body of the document is aimed at a reader who is not
conversant with all the details of network protocols. However, a paragraph
marked with [n], refers a reader familiar with network protocols to the
n-th item of Appendix A which will amplify that particular paragraph.
Further information on the network protocols referred to in this document
can be obtained from the Network Information Center.
Appendix B contains diagrams showing the transitions between the different
connection states. Appendices C and D give the implementation details of
this protocol in the Front-End and the Hosts.
This protocol is predicated upon the assumption that for each host, a line
protocol, at a lower level, will be established between the device-driver
modules in the Host and the Front-End, and that this line protocol provides
Front-End Protocol with error-free transmissions.
INTRODUCTION 2
A host computer may be connected to a network for a variety of reasons.
Network connection may be an attempt to expand the usefulness of the
Host to the community of users which it serves by making network resources
available to them. Conversely, the services which the Host provides may
be made available to a larger community of users, with the network providing
the method of access to those services.
In order for members of a network community to communicate in an intelligent
way, there must exist a set of protocols. The implementation of these
protocols in a host computer is typically called the Network Control Program
(NCP). The size and complexity of the NCP is proportional to the number and
complexity of protocols which it implements. For an ARPANET like network,
both the number and complexity are substantial.
***WORKING DOCUMENT***
1
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
A host which directly connects into the network must assume the responsibility
for implementing this set of protocols. That is the "price of admission"
to become a network host. It is not necessary to implement every protocol
and every option in every host, but even in the simplest case -- implementation
of an NCP is not a small task. The intrusion into the normal operating
environment of the host is also not small.
An alternative method for network connection is to connect the host to some
intermediate processor, and in turn, directly connect that processor to the
network. This approach is called "Front-Ending." There are many arguments
which may be posed to justify a host connection to a network through a front-
end processor. The most obvious being that the responsibility for
implementation of the network protocols (the NCP) can be delegated to the
front-end (FE), thereby reducing the impact on the host.
The purpose of this document is not to justify Front-Ending as a philosophy,
but rather, to introduce a protocol for communications between a host and
a front-end processor which is providing it network access. The Front End
Protocol (FEP) is intended to permit the host to make use of the network
through existing protocols, without requiring that it be cognizant of the
complexities and implementation detail inherent in their execution.
The FEP is sufficiently general to permit its implementation in the host
to be in terms of the function the host is performing, or the services
which it is providing. Of primary consideration in specification of FEP
was that it must provide the host with a sufficiently robust command
repertoire to perform its network tasks, while buffering it from the
details of network protocols.
CONCEPTS 3
Introduction 3a
Before a detailed description of the command structures is undertaken it
seems appropriate to introduce several of the concepts upon which the FEP
is predicated.
The following section serves to briefly describe the FEP commands, and to
elaborate on the concepts of addressing and types of connections provided.
***WORKING DOCUMENT***
2
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
Commands (General) 3b
1. BEGIN Command
This command is sent from the host to the front-end processor. Its function
is to direct the establishment of one or more network connections. The type
and number of connections is specified in the BEGIN command string.
2. LISTEN Command
Through this command the host indicates its willingness to accept requests
for connection arriving from other hosts. It directs the front-end processor
to LISTEN for any such connection requests. The number and type of
connections are specified in the command string.
3. RESPONSE Command
The front-end processor uses the RESPONSE command to indicate to the host that
a particular path specified in a BEGIN or LISTEN command is now open or that
the open attempt failed.
4. MESSAGE Command
Message text passing between the host and its front-end processor is sent in
this command string. The MESSAGE command is bi-directional, and is the same
for host or front-end.
5. INTERRUPT Command
The INTERRUPT command is sent by either the host of FE. Its most common use is
to convey that the user wishes to terminate what he is doing - i.e., he has
depressed the Control-C, ATTN, or INT key.
6. END Command
One or more connections may be closed by either the FE or the host issuing
this command. The connection(s) which are affected by the action of the END
are specified in the command string.
7. REPLY Command
This command is required to be sent by both the host and FE to acknowledge
receipt of all command types (except REPLY). The success or failure of the
command being acknowledged is conveyed in the REPLY command string.
***WORKING DOCUMENT***
3
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
Connections 3c
In order to engage in a meaningful conversation, the parties involved must
be connected. A network connection is defined by the ARPA Host-Host Protocol
document (Nic #8246) as follows : "A connection couples two processes so
that output from one process is input to the other. Connections are defined
to be unidirectional, so two connections are necessary if a pair of processes
are to converse in both directions." The components of a connection, the
sockets, are defined: "... a socket forms the reference for one end of a
connection, and a connection is fully specified by a pair of sockets. A
socket is identified by a Host number and a 32-bit socket number. The same
number in different Hosts represents different sockets."
The existing network protocols incorporate prescribed strategies for
selecting socket assignments, pairing sockets to form connections, and in
the number of connections required to implement the protocol.
Conversations, in most cases, are bi-directional. Thus to simplify the
Host's procedures in these cases, FEP permits duplex connections on which
the Host can both send and receive. Send only and Receive only connections
are also available for those situations where communication is one-way.
Thus, FEP provides the flexibility to reduce complexity in the Host, in
addition to accommodating existing protocols and allowing for the
development of new protocols.
Addressing 3d
Conversations in FEP are uniquely identified at initiation by some combination
of Host address, Index number, Path number and Socket assignment. The Host
address and Socket assignment are required to form the connection(s); there-
after the Index and Path are sufficient to identify the conversation.
Host Address
If, through the BEGIN command, the local Host explicitly directs the creation
of network connection(s), it must specify the address of the foreign host to
which it desires communication. If the local host indicates a willingness to
communicate, through the LISTEN command, the Front-End processor will supply
the address of the connecting foreign host(s) in its RESPONSE command(s).
***WORKING DOCUMENT***
4
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
Socket
A socket is either a send socket or a receive socket. This property is
called the socket's gender. The sockets at either end of a network
connection must be of opposite gender. As previously defined a socket
forms the reference for one end of a network connection. To the extent
possible, the FEP shields the Host from the responsibility of assigning
sockets for individual conversations. However, because the
socket is a fundamental part of the addressing mechanism of the network,
the Host may need to be aware of socket assignments when establishing
connections.
It is through a "well-advertised" socket that a host provides services
to other members of the network community. The Initial Connection
Protocol (ICP) [1] is used to first connect to the well-advertised socket
in order to exchange the number of a presently unused socket which is then
used for the connections required so that the well-advertised socket can
be freed for others attempting to connect.
When establishing a conversation (with a BEGIN or LISTEN command) the
Host indicates in the value of the CONN-TYPE field whether the socket
specified is to be employed directly, or to be used as an initial
connection socket.
Index/Path Addressing 3e
Indexes are values assigned by the local Host to identify network con-
versations. When conversations are established (with the BEGIN or LISTEN
commands) the Host must specify an index value. This value will be
associated with the resultant conversations for their duration.
It is often necessary to affiliate conversations [2]. To accommodate this,
data paths are defined such that each index has one or more path(s)
associated with it (a path can not exist except as a subordinate to an
index) and all network communication is transmitted on some path.
The maximum number of indexes which may be in use at any one time, and the
maximum number of paths within one index are installation parameters.
Index 0 is reserved for controlling other indexes, and logically represent the
"pipe" through which all other indexes "flow."
***WORKING DOCUMENT***
5
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
Addresses in FEP command strings are conveyed by the pair of fields "INDEX"
and "PATH." In commands which cause new indexes to be opened, or new data
paths to be added to an existing index (BEGIN or LISTEN), the PATH field
indicates the first path to be acted upon by this command. For those
commands which do not create new paths or indexes, if PATH is 0, then all
paths associated with this INDEX are addressed; if PATH is non-zero, only the
specific path within the specified INDEX is addressed.
Path Types 3f
A path can be one of three types:
a. DUPLEX - both the Host and the FE can issue MESSAGE commands
on the path.
b. SEND - only the Host can issue MESSAGE commands on the path.
c. RECEIVE - only the FE can issue MESSAGE commands on the path.
The paths within an index may be a mixture of path types but one BEGIN/
LISTEN must be used for each contiguous set of the same type.
An FEP path is analogous to a network connection with the following exception.
Network connections are always simplex. This is true for paths of type SEND
or RECEIVE. However, a DUPLEX path is formed by the FE connecting two local
sockets to two foreign sockets. This is a "duplex connection" which is
composed of two network (simplex) connections.
Modes of Establishing a Path 3g
One or more paths are established by the action of a single BEGIN or LISTEN
command, with the mode specified in the CONN-TYPE field of the command.
Each of the path types is established in one of two modes - directly or via
ICP. The gender of the path (its ability to receive or send or both) is not
affected by the mode.
When any of the path types is specified with the ICP mode, the socket value
in the SOCKET field is used as the "well-advertised" socket and an actual
working socket will be exchanged according to the Initial Connection Protocol.
When the direct mode is indicated, the specified socket is used as the working
socket.
***WORKING DOCUMENT***
6
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
In either mode, when multiple paths are indicated, the next higher socket
number values of the appropriate gender are selected for each path. [3]
Translation 3h
When the Host sets up a path(s) (with a BEGIN or LISTEN command) it identifies
what type of translation or data-mapping it requires the FE to perform on all
data transmitted on this path(s). This is specified by two values - one
giving the format of the data transmitted between the FE and the network,
the other giving the format of the data between the Host and the FE. [4]
Flow Control 3i
All commands (except REPLYs) must be REPLYED to by the receiver. The sender
is blocked from sending more commands on the same path until a REPLY has been
received. The REPLY command serves two functions: it indicates the
success/failure of the last transmission on the path, and it also indicates
a willingness of the receiver to accept more data on that path. Receipt of
any valid REPLY on an open path is sufficient to unblock it for END or
INTERRUPT commands. Thus a receiver who will not (or can not) accept more
data (MESSAGE commands) on a given path need not block the sender from
ENDing the path if he desires. An indication of "READY" in the reply serves
to unblock the path for MESSAGE commands also.
In the normal case, the REPLY performs both functions concurrently. However,
when the receiver is not ready to accept more data, he can REPLY indicating
only success/failure of the last command which should be sufficient to
allow the sender to free the transmission buffer, requeue the command for
retransmission if necessary, etc. and wait for another REPLY command
announcing the receiver's ability to accept more data.
Exceptional Conditions 3j
When a command is received and can not be executed, the REPLY command is used
to notify the sender of the command. To do this, the bits of CODE field of
the REPLY are set to show the CATEGORY of the error and its TYPE within that
category (see Section 3h).
***WORKING DOCUMENT***
7
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
COMMANDS 4
Introduction 4a
All communications between the Host and the FE is performed by means of
commands. The commands are given names for documentation purposes but are
distinguished by the binary value of the first field of the command string.
Command strings will be padded with zeros up to the next multiple of an
installation defined parameter. (This value will be dependent on the
capabilities of the hardware interface between the Host and the FE.)
Field lengths within a command string are specified as some number of bits.
These information bits will be right-justified within the least number of
bytes needed to hold them. The size of a byte will be an installation
parameter which will normally be 8 bits but other values will be accommodated
as necessary.
The values and meanings of the CODE field of the REPLY command are given for
each command within the following descriptions:
1: BEGIN 4b
Format
BEGIN INDEX PATH HOST SOCKET TRANS-TYPE CONN-TYPE NPATHS
Use
This command is sent only from the Host to the FE. Its function is to direct
the FE to establish one or more logical connections (paths) on the specified
index between the Host and the FE.
Its use has three different modes (depending on the value of the PATH field) :
mode (a) - to set up a new index and to direct the FE to attempt
to establish network connections for the one or more paths
specified within this index.
***WORKING DOCUMENTS***
8
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
mode (b) - to attempt to establish network connections for an
existing (but at present closed) path within the already set-up
index.
Mode (c) - to attempt to establish network connections for
one or more new paths within the already set-up index.
Parameters
a) BEGIN is an 8-bit field with the value 1.
b) INDEX is a 16-bit field, specifying the index. Note that
the value 0 is reserved for special use (see Section 4).
c) PATH is an 8-bit field, specifying the path(s) which are
to be established. Its value identifies the mode of the
BEGIN (see above) :
mode (a) - its value must be 1.
mode (b) - its value must be that of the path to be
"re-opened."
mode (c) - its value must be exactly one greater than
the current number of paths defined within this index.
d) HOST is a 32-bit field specifying the foreign host with
which connections are to be established.
e) SOCKET is a 32-bit field, specifying the first or only
socket at the foreign host to which connections are to
be made.
f) TRANS-TYPE is a 16-bit field which directs the FE to
perform this type of translation on all data (i.e. TEXT
in the MESSAGE command string) sent on every path being
established by this command. The first 8 bits specify
the format of the data on the network side; the second
8 bits specify the format of the data on the Host side.
The values assigned to the particular formats (eq. ASCII,
EBCDIC etc.) are installation parameters; however, the
***WORKING DOCUMENT***
9
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
value 0 will always mean "bit string" and thus if either
of the 8-bit sub-fields contains 0, then no mapping will
be performed.
g) CONN-TYPE is an 16-bit field, specifying the type and mode
of connection(s) to be established for the specified path(s).
Its value informs the FE how to associate sockets with
indexes/paths (see Sections 2f and 2g).
Value Type Mode
7 Duplex via ICP
6 Duplex direct
5 Receive via ICP
4 Receive direct
3 Send via ICP
2 Send direct
h) NPATHS is an 8-bit field, specifying the number of paths which
this command directs the FE to attempt to establish connections
for. If the BEGIN is of mode (b) then its value must be 1.
Otherwise the sum of its value and the value of the PATH field
is the new current number of paths plus one.
Error CODES in REPLY
Category Type Meaning
3 1 PATH invalid for new index
3 2 PATH invalid for old index
3 3 PATH already open
3 4 HOST unknown
3 5 TRANSLATION-TYPE invalid
3 6 CONNECTION-TYPE invalid
3 7 NPATHS invalid for old path on old index
3 8 Specified socket inconsistent with CONN-TYPE
3 9 INDEX invalid, not ready for business
4 1 No new connections - FE full
4 2 No new connections - closing down soon
***WORKING DOCUMENT***
10
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
2: LISTEN 4c
Format
LISTEN INDEX PATH HOST SOCKET TRANS-TYPE CONN-TYPE NPATHS
Use
This command is sent only from the Host to the FE.
Its function is to direct the FE to "listen," i.e., to hold the specified paths
pending until such time as a request for connection (RFC) is received from the
network to the specified local socket. then to set up connections and to
respond with a RESPONSE command for each path.
Its use has three different modes (depending on the value of the PATH field) :
mode (a) - to set up a new index and to listen on the specified local
socket in order to establish connections for the specified paths.
mode (b) - to listen on the specified socket in order to establish
connections for the specified, existing (but at present closed)
path within the already set-up index.
mode (c) - to listen on the specified socket in order to establish
connections for the specified new path(s) within the already set-up
index.
By use of the HOST parameter, the FE can be directed to accept RFCs from any
host or only from the specified host.
Parameters
a) LISTEN is an 8-bit field with value 2.
b) INDEX is a 16-bit field specifying the index.
c) PATH is an 8-bit field specifying the first of the one or more
paths which are to be held pending receipt of a RFC. Its
value identifies the mode of the LISTEN (see above) :
***WORKING DOCUMENT***
11
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
mode (a) - its value must be 1.
mode (b) - its value must be that of the existing path.
mode (c) - its value must be exactly one greater than
the current number of paths within this index.
d) HOST is a 32-bit field specifying the host from which RFCs
are to be accepted; a value of 0 implies from any host.
e) SOCKET is a 32-bit field specifying the local socket on which
the FE is to listen for RFCs.
f) TRANS-TYPE is a 16-bit field specifying the type of translation
the FE is to perform on all data sent on every path established
as a result of this command. Its values are the same as in the
BEGIN command.
g) CONN-TYPE is an 16-bit field specifying the type and mode of the
connection(s) to be established for the specified path(s) when
an RFC is received. Its values are the same as in the BEGIN
command.
h) NPATHS is an 8-bit field specifying the number of paths which
this command associates with the specified index and which are
to be established. If the LISTEN is of mode (b) then its value
must be 1. Otherwise the sum of its value and the value of the
PATH field is the new current number of paths plus one, within
this index. Thus its value is the number of extra RFCs for
which the FE is listening on this socket.
Error CODEs in REPLY
Category Type Meaning
3 1 PATH invalid for new index
3 2 PATH invalid for old index
3 3 PATH already open
3 4 HOST unknown
3 5 TRANSLATION-TYPE invalid
***WORKING DOCUMENT***
12
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
3 6 CONNECTION-TYPE INVALID
3 7 NPATHS invalid for old path on old index
3 8 Specified socket inconsistent with CONN-TYPE
3 9 INDEX invalid, not ready for business
3 10 Socket already in use.
4 1 No new listens - FE full
4 2 No new listens - closing down soon
3: RESPONSE 4d
Format
RESPONSE INDEX PATH CODE HOST SOCKET
Use
This command is sent only from the FE to the Host - once per path specified in
a BEGIN or a LISTEN command.
For paths specified in a BEGIN, it is sent to indicate the success or failure
of the connection attempt. For paths specified in a LISTEN, it is sent at
the time when the FE has received a matching RFC and has established the
connection.
The HOST and SOCKET parameters are purely informational which the Host can
ignore if it so desires. Their contents are only guaranteed if the connection
attempt succeeded.
Parameters
a) RESPONSE is an 8-bit field with value 3.
b) INDEX is a 16-bit field specifying the index.
c) PATH is an 8-bit field specifying the particular path.
d) CODE is a 16-bit field indicating the outcome of the
connection attempt:
***WORKING DOCUMENT***
13
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
Value Meaning
0 Path successfully established.
1 Local IMP dead.
2 Foreign IMP inaccessible.
3 Foreign Host dead.
4 Foreign Host not responding.
5 Connection refused.
e) HOST is a 32-bit field specifying the foreign host to which the
connection has been made.
f) SOCKET is a 32-bit field specifying the socket at the foreign
host. If the connection type is simplex, then it is the only
foreign socket for this path; if duplex, then it is the lower
of the two foreign sockets.
Error CODES in REPLY
Category Type Meaning
3 11 INDEX unknown
3 12 PATH unknown
3 13 CODE invalid
4: MESSAGE 4e
Format
MESSAGE INDEX PATH COUNT PAD TEXT
Use
This command is sent by either the Host or the FE to transmit data on the
specified path and index.
Parameters
a) MESSAGE is an 8-bit field with value 4.
b) INDEX is a 16-bit field specifying the index.
***WORKING DOCUMENT***
14
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
c) PATH is an 8-bit field specifying the path. Note that the value
0 is used in the broadcast option (see Section 3j).
d) COUNT is a 16-bit field specifying the number of bits of data
in the TEXT field.
e) PAD is an n-bit field, where n is an installation parameter.
It contains only padding (in the present protocol specification)
and can be used to enable the host to have the TEXT field start
on a convenient boundary.
f) TEXT is a field containing COUNT bits of data being transmitted
on this path.
Error CODES in REPLY
Category Type Meaning
2 1 This option not implemented
3 12 PATH unknown
3 14 No connection opened in this direction
3 15 PATH blocked at this time, resent later
3 16 PATH suspended at this time, resent later
3 17 PATH closed
3 17 COUNT too large
4 3 Error in transmitting data, resend command
4 4 Data lost, resent command.
5: INTERRUPT 4f
Format
INTERRUPT INDEX PATH CODE
Use
This command is sent by either the Host or the FE.
Its most common use is to pass the information that a terminal user has
pressed his INT (or ATTN or Control-C) key, thereby requesting his
applications program to quit what it is doing for him.[5]
***WORKING DOCUMENT***
15
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
Parameters
a) INTERRUPT is a 8-bit field with value 5.
b) INDEX is a 16-bit field specifying the index.
c) PATH is an 8-bit field specifying the path on which the
INTERRUPT is transmitted. Note that the value 0 is used in
the broadcast option (see Section 3j).
d) CODE is a 16-bit field. It has no defined meanings as yet
and should contain 0.
Error CODES in REPLY
Category Type Meaning
2 1 This option not implemented
3 11 INDEX unknown
3 12 PATH unknown
3 14 No connection opened in this direction
3 15 PATH blocked at this time, resend later
3 17 PATH closed.
6: END 4g
Format
END INDEX PATH CODE
Use
This command is sent by either the Host or the FE, to terminate a connection.
If PATH is 0, then the index and all its paths are terminated, otherwise just
the specified path of the index is terminated.
Parameters
a) END is an 8-bit field with value 6.
b) INDEX is a 16-bit field specifying the index.
***WORKING PARAMETER***
16
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
c) PATH is an 8-bit field containing the path to be closed, or 0 if
the whole index is to be closed.
d) CODE is a 16-bit field indicating the reason for the closure:
Value Meaning
0 Normal close
1 Retries exhausted
2 Foreign Host failure
3 Foreign IMP failure
4 Network failure
5 Local IMP failure.
The "Retries exhausted" code indicates that the FE has been
retrying a transmission to the foreign host without success.
Error CODES in REPLY
Category Type Meaning
3 11 INDEX unknown
3 12 PATH unknown
3 13 CODE unknown
3 15 PATH blocked at this time, resend later
3 17 PATH closed.
7: REPLY 4h
Format
REPLY INDEX PATH CODE
Use
This command is sent by both the Host and the FE to acknowledge receipt of
every other type of command (including those on index 0, see Section 4) and/or
to unblock that particular direction of an opened path for the transmission
of another command.
Note that the INDEX and PATH fields contain exactly the same as those of the
command being replied to.
***WORKING DOCUMENT***
17
RFC 705
Front-End Protocol
***WORKING DOCUMENT***
Parameters
a) REPLY is an 8-bit field with value 7.
b) INDEX is a 16-bit field specifying the index.