RFC120 日本語訳
0120 Network PL1 subprograms. M. Krilanovich. April 1971. (Format: TXT=37192 bytes) (Status: UNKNOWN)
プログラムでの自動翻訳です。
RFC一覧
英語原文
NETWORK PL1 SUBPROGRAMS
ネットワークPL1副プログラム
April 21, 1971
1971年4月21日
Mark Krilanovich
マークKrilanovich
Computer Research Lab
コンピュータ研究研究室
University of California
カリフォルニア大学
Santa Barbara, California
サンタバーバラ(カリフォルニア)
[Page 1] RFC 120 NETWORK PL1 SUBPROGRAMS
[1ページ] RFC120ネットワークPL1副プログラム
PREFACE
序文
The subroutines described in this document have been implemented at UCSB and make the Network (via the NCP) accessible to PL1 programs executing in the 360/75. They are callable from within any PL1 main program or subroutine compiled at UCSB.
本書では説明されたサブルーチンで、UCSBで実行されて、Network(NCPを通した)は360/75で実行されるPL1プログラムにアクセスしやすくなります。 それらはUCSBで編集されたどんなPL1主プログラムやサブルーチンからも呼ぶことのできます。
A set of assembly-language written subprograms is provided to facilitate the use of the Network by PL1 programmers. They serve as an interface between the user and the Network Control Program (NCP), which supervises all Network operations at this site.
PL1プログラマによるNetworkの使用を容易にするために1セットのアセンブリ言語の書かれた副プログラムを提供します。 それらはユーザとNetwork Control Program(NCP)とのインタフェースとして機能します。(Network Control ProgramはこのサイトでのすべてのNetwork操作を監督します)。
A concept fundamental to PL1 Network operations is that of a completion code variable. Associated with each socket that is not in the closed state is a unique variable, called a completion code variable. This variable serves two purposes: it identifies the local socket referenced, and upon completion of the operation it contains a completion code to indicate the outcome of the operation to the programmer. It may be used at any time for any purpose other than Network operations. Its value at the beginning of a Network operation is immaterial; rather, it is the variable itself that is important. In all Network operations, whenever a completion code variable is called for, the only acceptable attributes for the variable are BINARY FIXED(31,0)ALIGNED.
PL1 Network操作に基本的な概念は完了コード変数のものです。 閉じている状態にない各ソケットに関連づけられているのは、完了コード変数と呼ばれるユニークな変数です。 この変数は2つの目的に役立ちます: それは参照をつけられる地方のソケットを特定します、そして、操作の完成では、操作の結果をプログラマに示す完了コードを含んでいます。 それはいつでも、Network操作以外のどんな目的にも使用されるかもしれません。 Network操作の始めにおける値は重要でないです。 むしろ、重要であるのは、変数自体です。 完了コード変数が求められるときはいつも、すべてのNetwork操作では、変数のための唯一の許容できる属性がBINARY FIXED(31、0)ALIGNEDです。
In general, the subprograms will initiate the operation, and enter the WAIT state (consume no CPU time) until notified by the NCP of the completion of the operation. For such operations, the programmer supplies a time limit, with attributes BINARY FIXED(31,0), which specifies, in tenths of a second, the maximum length of time the subprogram is to wait for the operation to complete. If this time limit is exceeded, a completion code is supplied to indicate the error, and control is returned to the calling program, with the operation still pending.
一般に、副プログラムは、操作の完成のNCPによって通知されるまで操作を開始して、待ち状態になるでしょう(CPU時間を全く費やしません)。 そのような操作のために、プログラマはタイムリミットを供給します、指定する属性BINARY FIXED(31、0)と共に、1秒の10分の1で、完成する操作を待つ副プログラムがことである時間の最大の長さ。 このタイムリミットを超えているなら、誤りを示すために完了コードを供給します、そして、コントロールを呼ぶプログラムに返します、操作がまだ未定の状態で。
In those operations requiring a socket to be specified by its socket identifier, the following format is used. The identifier is specified as a BINARY FIXED(31,0) array, singly dimensioned with at least two elements, and with a lower subscript bound of one. The first element is taken to be the site number, and the second element the socket number. A socket number may have any value, positive, negative, or zero. Since negative numbers are represented internally in two's complement form, for the purposes of the gender of a socket, a socket number is even or odd according to whether its absolute value is even or odd, respectively.
以下の形式はソケットがソケット識別子によって指定されるのを必要とするそれらの操作が使用されています。 識別子は少なくとも2つの要素で単独でdimensionedされたBINARY FIXED(31、0)アレイと1の下側の添字バウンドで指定されます。 サイト番号になるように最初の要素を取ります、そして、2番目の要素はソケット番号を取ります。 ソケット番号には、陽の、そして、負のどんな値、またはゼロもあるかもしれません。 負数が2の補数フォームに内部的に表されるので、絶対値がそれぞれ同等であるか、または変であるかに従って、ソケット番号は、ソケットの性の目的のために、偶数である、または変です。
[Page 2] RFC 120 NETWORK PL1 SUBPROGRAMS
[2ページ] RFC120ネットワークPL1副プログラム
Following is a description of each subprogram, its function and calling sequence.
以下に、その各副プログラム、機能、および呼出し手順の記述があります。
(1) OPEN
(1) 戸外
By invoking this subprogram, the user requests that the specified local socket be removed from the closed state and thus be prepared to participate in data transfer. There are three distinct operations that can be performed by this subprogram, and these are described below:
この副プログラムを呼び出すことによって、ユーザは、指定された地方のソケットが閉じている状態から取り外されて、その結果、データ転送に参加するように準備されるよう要求します。 この副プログラムで実行できる3つの異なった操作があります、そして、これらは以下で説明されます:
(A) CONNECT
(A) 接続してください。
By initiating this operation, the user requests that the specified local socket be logically connected to the specified foreign socket, and that data transfer between the two sockets be enabled. The subprogram will wait until the foreign socket either accepts or rejects the connection attempt. This operation is valid only when the socket is in the closed state.
この操作、指定された地方のソケットが指定された外国ソケットに論理的に接続されるというユーザ要求、および2個のソケットの間のそのデータ転送に着手することによって、可能にされてください。 外国ソケットが接続試みを受け入れるか、または拒絶するまで、副プログラムは待っています。 ソケットが閉じている状態にあるときだけ、この操作は有効です。
The calling sequence is as follows:
呼出し手順は以下の通りです:
CALL @OPEN(cmpcd, time,lclsck,fgnsck,ws);
CALL@OPEN(cmpcd、時間、lclsck、fgnsck、ws)。
where
どこ
'cmpcd' is the completion code variable to be associated with the local socket. 'time' is the length of time the subprogram is to wait for the completion of the operation. 'lclsck' is the socket identifier of the local socket. 'fgnsck' is the socket identifier of the foreign socket. 'ws' is a workspace which has the same attributes as a socket identifier, and, if the operation if successful, will become associated with the local socket for the life of the connection. In response to certain future operations, information may be returned to the programmer in this workspace.
'cmpcd'は地方のソケットに関連している完了コード変数です。 '時間'は操作の完成を待つ副プログラムがことである時の長さです。 'lclsck'は地方のソケットに関するソケット識別子です。 'fgnsck'は外国ソケットに関するソケット識別子です。 'ws'はソケット識別子として同じ属性を持っているワークスペースです、そして、操作であるなら、うまくいくなら、接続の人生で地方のソケットに関連するようになるでしょう。 ある今後の操作に対応して、このワークスペースのプログラマに情報を返すかもしれません。
The following completion codes are possible for this operation:
この操作に、以下の完了コードは可能です:
0, The operation was successful and the connection has been established 4, The specified completion code variable is already assigned to a socket; the operation was suppressed 8, The specified local socket is not in the closed
0 操作は成功していました、そして、接続が確立した4である、指定された完了コード変数は既にソケットに割り当てられます。 操作は抑圧されて、8、指定された地方のソケットが閉鎖にないということでした。
[Page 3] RFC 120 NETWORK PL1 SUBPROGRAMS
[3ページ] RFC120ネットワークPL1副プログラム
state; the operation was suppressed 12, All communication paths to the specified foreign site are in use; the operation was suppressed 16, Local resources are insufficient to support another connection; the operation was suppressed 20, The connection attempt was rejected by the foreign process 24, The specified local socket is not local to UCSB; the operation was suppressed 28, The specified foreign site is invalid; the operation was suppressed 32, An addressing or protection exception was encountered with respect to the specified workspace; the operation was suppressed 36, Either hardware at the foreign site is inoperative or the NCP's counterpart at the foreign site does not exist or has failed 40, Local and foreign sockets are both either send or receive sockets; the operation was suppressed 44, By operator command, all Network operations were terminated; the socket will be closed 60, An NCP control transmission error occured; the operation was suppressed 252, The specified time limit was exceeded; the operation was initiated but not completed
状態。 操作は抑圧されて、12、指定された海外サイトへのAll通信路が使用中であるということでした。 操作は抑圧されて、16、Localリソースが別の接続を支持するためには不十分であるということでした。 操作が抑圧されて、20、接続試みが外国工程24で拒絶されたということであった、指定された地方のソケットはUCSBに地方ではありません。 操作は抑圧されて、28、指定された海外サイトが無効であるということでした。 操作は抑圧されて、32、Anアドレシングまたは保護例外が指定されたワークスペースに関して遭遇したということでした。 操作が抑圧されて、36、海外サイトのEitherハードウェアが効力がないか、または海外サイトにおけるNCPの対応者は、存在していないか、40に失敗しました、Localということであり、両方が発信するということであるか外国ソケットはソケットを受けます。 操作は抑圧されて、44、Byオペレータコマンド、すべてのNetwork操作が終えられたということでした。 ソケットによる閉じられて、60、An NCP制御伝動誤りがoccuredされたということでしょう。 操作は抑圧されて、252、指定されたタイムリミットが超えられていたということでした。 操作は、開始されましたが、完了しませんでした。
(B) LISTEN
(B) 聴いてください。
This operation is a request for notification of any connection attempt directed toward the specified local socket. The subprogram waits until such a call is received, at which time the calling process' socket identifier is returned to the calling program. This operation is valid only when the designated local socket is in the closed state. The calling sequence is as follows:
この操作は指定された地方のソケットに向けられたどんな接続試みの通知に関する要求です。 副プログラムはどの時に呼び出しプロセスのソケット識別子を呼ぶプログラムに返すかときそのような呼び出しを受けるまで待っています。 指定された地方のソケットが閉じている状態にあるときだけ、この操作は有効です。 呼出し手順は以下の通りです:
CALL @OPEN(cmpcd, time,lclsck,ws);
CALL@OPEN(cmpcd、時間、lclsck、ws)。
where
どこ
'cmpcd' is the completion code variable to be associated with the local socket. 'time' is the length of time the subprogram is to wait for the completion of the operation. 'lclsck' is the socket identifier of the local socket. 'ws' is a workspace which, if the operation is successful, will contain the socket identifier of the calling socket, and will become associated with
'cmpcd'は地方のソケットに関連している完了コード変数です。 '時間'は操作の完成を待つ副プログラムがことである時の長さです。 'lclsck'は地方のソケットに関するソケット識別子です。 'ws'は操作がうまくいくと呼ぶソケットに関するソケット識別子を含んで、関連するようになるワークスペースです。
[Page 4] RFC 120 NETWORK PL1 SUBPROGRAMS
[4ページ] RFC120ネットワークPL1副プログラム
the local socket for the life of the connection. 'ws' has the same attributes as a socket identifier.
接続の人生のための地方のソケット。 'ws'には、ソケット識別子と同じ属性があります。
The following completion codes are possible for this operation:
この操作に、以下の完了コードは可能です:
0, The operation was successful and a call has been received 4, The specified completion code variable is already assigned to a socket; the operation was suppressed 8, The specified local socket is not in the closed state; the operation was suppressed 12, Local resources are insufficient to support another connection; the operation was suppressed 16, The specified local socket is not local to UCSB; the operation was suppressed 20, An addressing or protection exception was encountered with respect to the specified workspace; the operation was suppressed 44, By operator command, all Network operations were terminated; the socket will be closed 252, The specified time limit was exceeded; the operation was initiated but not completed
0 操作は成功していました、そして、呼び出しが容認された4である、指定された完了コード変数は既にソケットに割り当てられます。 操作は抑圧されて、8、指定された地方のソケットが閉じている状態にないということでした。 操作は抑圧されて、12、Localリソースが別の接続を支持するためには不十分であるということでした。 操作は抑圧されて、16、指定された地方のソケットがUCSBに地方でないということでした。 操作は抑圧されて、20、Anアドレシングまたは保護例外が指定されたワークスペースに関して遭遇したということでした。 操作は抑圧されて、44、Byオペレータコマンド、すべてのNetwork操作が終えられたということでした。 ソケットによる閉じられて、252、指定されたタイムリミットが超えられていたということでしょう。 操作は、開始されましたが、完了しませんでした。
(C) ACCEPT
(C) 受け入れてください。
This operation accepts connection with the foreign socket whose call caused successful completion of a previous LISTEN operation by the specified local socket. After completion of this operation, data may be transferred to or from the local socket, depending on its gender. This operation is valid only when the last operation referencing the local socket was a LISTEN operation. The subprogram will wait until the operation is completed.
この操作は呼び出しが指定された地方のソケットで前のLISTEN操作の無事終了を引き起こした外国ソケットとの接続を受け入れます。 この操作の完成の後に、性によって、ソケットか地方のソケットからデータを移すかもしれません。 地方のソケットに参照をつけた最後の操作がLISTEN操作であったときにだけ、この操作は有効です。 操作が完了するまで、副プログラムは待っています。
The calling sequence is as follows:
呼出し手順は以下の通りです:
CALL @OPEN(cmpcd, time);
CALL@OPEN(cmpcd、時間)。
where
どこ
'cmpcd' is the completion code variable associated with the local socket by a previous LISTEN operation. 'time' is the length of time the subprogram is to wait for the completion of the operation.
'cmpcd'は前のLISTEN操作で地方のソケットに関連している完了コード変数です。 '時間'は操作の完成を待つ副プログラムがことである時の長さです。
The following completion codes are possible for this operation:
この操作に、以下の完了コードは可能です:
[Page 5] RFC 120 NETWORK PL1 SUBPROGRAMS
[5ページ] RFC120ネットワークPL1副プログラム
0, The operation was successful, and the connection is established 4, The specified local socket is in the closed state (the NCP may have received an abort notification from the foreign process); the operation was suppressed 8, The previous operation specifying the designated local socket was not a LISTEN; the operation was suppressed 12, All communication paths to the specified foreign site are in use; the socket has been returned to the closed state 252, The specified time limit was exceeded; the operation was initiated but not completed
0 操作はうまくいきました、そして、接続が確立した4である、指定された地方のソケットが閉じている状態にあります(NCPは外国過程からアボート通知を受け取ったかもしれません)。 操作は抑圧されました。8 指定された地方のソケットを指定した古い手術痕はLISTENではありませんでした。 操作は抑圧されて、12、指定された海外サイトへのAll通信路が使用中であるということでした。 閉じている状態252にソケットを返して、指定されたタイムリミットを超えていました。 操作は、開始されましたが、完了しませんでした。
(2) CLOSE
(2) 閉鎖
This operation is a request that the specified local socket be returned to the closed state. If the last operation involving this socket was a LISTEN, this operation refuses the foreign process' connection attempt. If the last operation was a CONNECT, the attempt is aborted. If a connection is established, any data in transit from the local socket is allowed to reach the foreign socket and to be either received or flushed before the local socket is closed. The subprogram will wait until the socket has been returned to the closed state.
この操作は指定された地方のソケットを閉じている状態に返すという要求です。 このソケットにかかわった最後の操作がLISTENであったなら、この操作は外国過程の接続試みを拒否します。 最後の操作がCONNECTであったなら、試みは中止されます。 接続を確立するなら、地方のソケットが閉じるようになる前に、外国ソケットに達して、受け取るか、または地方のソケットからのトランジットにおけるどんなデータも洗い流すことができます。 副プログラムは閉じている状態にソケットを返すまで待っています。
The calling sequence is as follows:
呼出し手順は以下の通りです:
CALL @CLOSE(cmpcd,time);
@CLOSE(cmpcd、時間)に電話をしてください。
where
どこ
'cmpcd' is the completion code variable associated with the local socket. 'time' is the length of time the subprogram is to wait for the completion of the operation.
'cmpcd'は地方のソケットに関連している完了コード変数です。 '時間'は操作の完成を待つ副プログラムがことである時の長さです。
The following completion codes are possible for this operation:
この操作に、以下の完了コードは可能です:
0, The operation was successful, and the socket has been returned to the closed state 8, The specified completion code variable is not currently assigned to a socket; the operation was suppressed 12, The specified local socket is in the process of being closed; the operation was suppressed, but the local socket will be closed 36, Either hardware at the foreign site is inoperative, or the NCP's counterpart at the foreign site does not exist or
0 操作は成功していました、そして、閉じている状態8にソケットを返しました、そして、現在、指定された完了コード変数をソケットに割り当てません。 操作は抑圧されて、閉じられることの途中に12、指定された地方のソケットがあるということでした。 または地方のソケットが閉じた36になる、操作は抑圧されましたが、海外サイトのEitherハードウェアは効力がありません、または、海外サイトにおけるNCPの対応者が存在しない。
[Page 6] RFC 120 NETWORK PL1 SUBPROGRAMS
[6ページ] RFC120ネットワークPL1副プログラム
has failed 44, By operator command, all Network operations were terminated; the socket will be closed 60, An NCP control transmission error occured; the operation was aborted 64, A transmission error occured; the operation was aborted, but the socket will be closed 252, The specified time limit was exceeded; the operation was initiated but not completed
失敗されて、44、Byオペレータコマンド、すべてのNetwork操作が終えられました。 ソケットによる閉じられて、60、An NCP制御伝動誤りがoccuredされたということでしょう。 操作は中止されて、64、A伝送エラーにoccuredされたということでした。 操作は中止されましたが、ソケットによる閉じられて、252、指定されたタイムリミットが超えられていたということでしょう。 操作は、開始されましたが、完了しませんでした。
(3) SEND
(3) 発信してください。
This operation causes data to be sent to the foreign socket. The subprogram will wait until the data has been received by the foreign socket, or until it has been queued locally by the NCP.
この操作で、外国ソケットにデータを送ります。 副プログラムは外国ソケットでデータを受け取ったか、またはNCPで局所的にそれを列に並ばせるまで待っています。
The calling sequence is as follows:
呼出し手順は以下の通りです:
CALL @WRITE(cmpcd, bfr,len,time[,offset]);
CALL@WRITE(cmpcd、bfr、len、時間[相殺してください])。
where
どこ
'cmpcd' is the completion code variable associated with the local socket. 'bfr' is the data to be sent, and must be a singly dimensioned array, either DECIMAL or BINARY, FIXED or FLOAT. 'len' is the number of bits of data to be sent. If 'len' is non-positive, no operation is performed. 'len' has the attribute BINARY FIXED(31,0). 'time' is the length of time the subprogram is to wait for the completion of the operation. 'offset' is the bit offset from the first bit of 'bfr' at which data transmission is to begin, and must have the attributes BINARY FIXED(31,0). If not specified, 'offset' defaults to zero.
'cmpcd'は地方のソケットに関連している完了コード変数です。 'bfr'は、送られるデータであり、単独でdimensionedされたアレイ、DECIMAL BINARY、FIXEDまたはFLOATのどちらかであるに違いありません。 'len'は送られるビットのデータの数です。 'len'が非積極的であるなら、操作は全く実行されません。 'len'には、属性BINARY FIXED(31、0)があります。 '時間'は操作の完成を待つ副プログラムがことである時の長さです。 'オフセット'は、どのデータ伝送が始まることになっているかで'bfr'の最初のビットから相殺されたビットであり、属性BINARY FIXED(31、0)を持たなければなりません。 指定されないなら、'オフセット'はゼロをデフォルトとします。
The following completion codes are possible for this operation:
この操作に、以下の完了コードは可能です:
0, The operation was successful, and the data has been sent 4, The specified local socket is not a SEND socket; the operation was suppressed 8, The specified completion code variable is not assigned to a socket; the operation was suppressed 12, A previous SEND operation is in progress; the operation was suppressed 16, The connection is not fully open; the operation was suppressed 20, The foreign socket terminated the connection before
0 操作はうまくいきました、そして、データは送って、4、指定された地方のソケットがSENDソケットでないということです。 操作は抑圧されて、8、指定された完了コード変数がソケットに割り当てられないということでした。 操作は抑圧されて、12、A前のSEND操作が進行しているということでした。 操作は抑圧されて、16、接続が完全にオープンであるというわけではないということでした。 操作は抑圧されて、20、外国ソケットが以前接続を終えたということでした。
[Page 7] RFC 120 NETWORK PL1 SUBPROGRAMS
[7ページ] RFC120ネットワークPL1副プログラム
completion of the SEND operation; not all data was transmitted 36, Either hardware at the foreign site is inoperative, or the NCP's counterpart at the foreign site does not exist or has failed 44, By operator command, all Network operations were terminated; the socket will be closed 52, One or more interrupts were received from the foreign socket; the operation was suppressed 56, An addressing exception was encountered with respect to the data buffer; the operation was suppressed 60, An NCP control transmission error occured; the operation was suppressed 64, A transmission error occured; the operation was aborted, and the socket will be closed 252, The specified time limit was exceeded; the operation was initiated but not completed
SEND操作の完成。 すべてのデータが伝えられて、36、海外サイトのEitherハードウェアが効力がないか、または海外サイトにおけるNCPの対応者は、存在していないか、44に失敗しました、Byオペレータコマンドということであったというわけではない、すべてのNetwork操作が終えられました。 ソケットによる閉じられて、外国ソケットから52、Oneまたは、より多くの中断を受け取ったということでしょう。 操作は抑圧されて、56、Anアドレス指定例外がデータバッファに関して遭遇したということでした。 操作は抑圧されて、60、An NCP制御伝動誤りにoccuredされたということでした。 操作は抑圧されて、64、A伝送エラーにoccuredされたということでした。 操作は中止されました、そして、ソケットによる閉じられて、252、指定されたタイムリミットが超えられていたということでしょう。 操作は、開始されましたが、完了しませんでした。
(4) RECEIVE
(4) 受信してください。
This operation causes data to be received from the foreign socket. The subprogram will wait until the reception of data is complete.
この操作で、外国ソケットからデータを受け取ります。 データのレセプションが完全になるまで、副プログラムは待っています。
The calling sequence is as follows:
呼出し手順は以下の通りです:
CALL @READ(cmpcd,bfr,len,time[,offset]);
@READ(cmpcd、bfr、len、時間[相殺する])に電話をしてください。
where
どこ
'cmpcd' is the completion code variable associated with the local socket. 'bfr' is the variable into which the data is to be placed, and must be a singly dimensioned array, DECIMAL or BINARY, FIXED or FLOAT. 'len' is the number of bits of data to be received. If 'len' is non-positive, no operation is performed. 'len' has the attribute BINARY FIXED(31,0). 'time' is the length of time the subprogram is to wait for the completion of the operation. 'offset' is the bit offset from the first bit of 'bfr' at which the first bit of data is to be placed, and must have the attributes BINARY FIXED(31,0). If not specified, 'offset' defaults to zero.
'cmpcd'は地方のソケットに関連している完了コード変数です。 'bfr'は、置かれるデータがことである変数であり、単独でdimensionedされたアレイ、DECIMAL、BINARY、FIXEDまたはFLOATであるに違いありません。 'len'はビットの受け取られるべきデータの数です。 'len'が非積極的であるなら、操作は全く実行されません。 'len'には、属性BINARY FIXED(31、0)があります。 '時間'は操作の完成を待つ副プログラムがことである時の長さです。 'オフセット'は、置かれるデータの最初のビットがことである'bfr'の最初のビットから相殺されたビットであり、属性BINARY FIXED(31、0)を持たなければなりません。 指定されないなら、'オフセット'はゼロをデフォルトとします。
The following completion codes are possible for this operation:
この操作に、以下の完了コードは可能です:
0, The operation was successful and the data has been received
0 操作はうまくいきました、そして、データを受け取りました。
[Page 8] RFC 120 NETWORK PL1 SUBPROGRAMS
[8ページ] RFC120ネットワークPL1副プログラム
4, The specified local socket is not a receive socket; the operation was suppressed 8, The specified completion code variable is not assigned to a socket; the operation was suppressed 12, A previous RECEIVE operation is in progress; the operation was suppressed 16, The connection is not fully open; the operation was suppressed 20, The foreign socket terminated the connection before completion of the RECEIVE operation; data is unpredictable 36, Either hardware at the foreign site is inoperative, or the NCP's counterpart at the foreign site does not exist or has failed 44, By operator command, all Network operations were terminated; the socket will be closed 24, An addressing or protection exception was encountered with respect to the data buffer; the operation was suppressed 52, One or more interrupts were received from the foreign socket; the operation was suppressed 60, An NCP control transmission error occured; the operation was aborted, and the socket will be closed 252, The specified time limit was exceeded; the operation was initiated but not completed
4 指定された地方のソケットによるaがソケットを受けるということではありません。 操作は抑圧されて、8、指定された完了コード変数がソケットに割り当てられないということでした。 操作は抑圧されて、12、A前のRECEIVE操作が進行しているということでした。 操作は抑圧されて、16、接続が完全にオープンであるというわけではないということでした。 操作は抑圧されて、20、外国ソケットがRECEIVE操作の完成の前に接続を終えたということでした。 データが予測できない36である、海外サイトのEitherハードウェアが効力がないか、海外サイトにおけるNCPの対応者は、存在していないか、または44、Byオペレータコマンドに失敗して、またはすべてのNetwork操作が終えられました。 ソケットによる閉じられて、24、Anアドレシングまたは保護例外がデータバッファに関して遭遇したということでしょう。 操作は抑圧されて、外国ソケットから52、Oneまたは、より多くの中断を受け取ったということでした。 操作は抑圧されて、60、An NCP制御伝動誤りにoccuredされたということでした。 操作は中止されました、そして、ソケットによる閉じられて、252、指定されたタイムリミットが超えられていたということでしょう。 操作は、開始されましたが、完了しませんでした。
(5) CHECK
(5) チェック
This operation causes the status of the specified local socket to be returned. There is no completion code variable associated with this operation, since it is always successful and the socket is identified by its socket number. This operation is valid at any time and is always completed immediately.
この操作で、指定された地方のソケットの状態を返します。 この操作に関連しているどんな完了コード変数もありません、それがいつもうまくいっていて、ソケットがソケット番号によって特定されるので。 この操作は、いつでも、有効であり、すぐに、いつも完了しています。
The calling sequence is as follows:
呼出し手順は以下の通りです:
CALL @CHECK(lclsck,stat,mnem,fgnsck,deficit);
@CHECKを(lclsck、スタット、mnem、fgnsck、赤字)と呼んでください。
where
どこ
'lclsck' is the socket identifier of the local socket. 'stat' is a code for the status, and has the attribute BINARY FIXED(31,0). 'mnem' is a mnemonic for the status, and has the attribute CHARACTER, of any fixed length greater than or equal to eight. If 'mnem' is longer than eight bytes, it will be padded to the right with blanks. 'fgnsck' is the socket identifier of the foreign socket, or zero.
'lclsck'は地方のソケットに関するソケット識別子です。 'スタット'は、状態へのコードであり、属性BINARY FIXED(31、0)を持っています。 'mnem'は、状態へのニーモニックであり、どんな8以上の固定長さの属性キャラクターも持っています。 'mnem'が8バイトより長いなら、それは空白で右に水増しされるでしょう。 'fgnsck'は外国ソケット、またはゼロものに関するソケット識別子です。
[Page 9] RFC 120 NETWORK PL1 SUBPROGRAMS
[9ページ] RFC120ネットワークPL1副プログラム
'deficit' is the send/receive deficit in bits, or zero, and has the attributes BINARY FIXED(31,0).
'赤字'がそう、ビット、またはゼロにおける赤字を送るか、または受け取って、属性BINARY FIXED(31、0)を持っています。
'lclsck' is the only argument the programmer need define; the others are output from the subprogram.
'lclsck'はプログラマが定義しなければならない唯一の議論です。 他のものは副プログラムから出力されます。
Following are the possible status codes, together with their mnemonics and interpretations.
以下に、可能なステータスコードが彼らのニーモニックと解釈と共にあります。
'STAT' 'MNEM' MEANING ---- ---- 0 OPEN A connection is fully established. No SEND/RECEIVE operation is in progress. 'fgnsck' is the socket identifier of the connected socket. 'deficit' is the number of bits queued locally at the socket by the NCP and available to satisfy a future RECEIVE operation, or awaiting output as the result of a previous SEND operation.
'スタット''MNEM'意味---- ---- 0 オープンA接続は完全に確立されます。 SEND/RECEIVE操作は全く進行していません。 'fgnsck'は接続ソケットに関するソケット識別子です。 '赤字'は前のSEND操作の結果としてソケットにNCPと今後のRECEIVE操作を満たすために利用可能であるか待ち出力で局所的に列に並ばせられたビットの数です。
1 LISTEN A LISTEN has been issued.
1 LISTEN A LISTENは発行されました。
2 CONNECT A CONNECT has been issued. 'fgnsck' is the socket identifier of the foreign socket.
2 CONNECT A CONNECTは発行されました。 'fgnsck'は外国ソケットに関するソケット識別子です。
3 DECISION A LISTEN has been completed. 'fgnsck' is the socket identifier of the calling socket.
3 DECISION A LISTENは完成しました。 'fgnsck'は呼ぶソケットに関するソケット識別子です。
4 CALL(S) One or more calls have been received for the local socket. No LISTEN or CONNECT has been issued.
4 地方のソケットのためにより多くのCALL(S)1呼び出しを受けました。 どんなLISTENもCONNECTも発行されていません。
5 I/O A connection is fully established. A SEND/RECEIVE operation is in progress. 'fgnsck' is the socket identifier of the connected socket. 'deficit' is the number of bits yet to be sent or received.
5つの入出力Aの接続は完全に確立されます。 SEND/RECEIVE操作は進行しています。 'fgnsck'は接続ソケットに関するソケット識別子です。 '赤字'はまだ送るか、または受け取っているビットの数です。
6 CLOSED The socket is in the closed state.
6CLOSED、ソケットが閉じている状態にあります。
7 <--DRAIN The foreign socket is attempting to close the connection. The NCP has data yet to be read by the local socket. 'fgnsck' is the socket identifier of the connected socket. 'deficit' is the number of bits yet to be received.
7 <--閉じるソケットが、試みている外国の接続のDRAIN。 NCPには、地方のソケットによってまだ読まれていないデータがあります。 'fgnsck'は接続ソケットに関するソケット識別子です。 '赤字'はまだ受け取られるべきビットの数です。
[Page 10] RFC 120 NETWORK PL1 SUBPROGRAMS
[10ページ] RFC120ネットワークPL1副プログラム
8 DRAINED The foreign socket is attempting to close the connection. The NCP is awaiting arrival at the foreign site of data currently in transit. 'fgnsck' is the socket identifier of the connected socket.
8 閉じるソケットが、試みている外国の接続のDRAINED。 NCPは現在トランジットにおけるデータの海外サイトで到着を待っています。 'fgnsck'は接続ソケットに関するソケット識別子です。
9 CLOSING The local socket has issued a CLOSE. The NCP is in the process of returning the local socket to the closed state. 'fgnsck' is the socket identifier of the connected socket.
9 地方のソケットがCLOSEを発行したCLOSING。 地方のソケットを閉じている状態に返すことの途中にNCPがあります。 'fgnsck'は接続ソケットに関するソケット識別子です。
10 DRAIN--> The local socket has issued a CLOSE. The NCP is completing the last SEND operation before returning the local socket to the closed state. 'fgnsck' is the socket identifier of the connected socket. 'deficit' is the number of bits the NCP has yet to transmit.
10 DRAIN--地方のソケットがCLOSEを発行した>。 地方のソケットを閉じている状態に返す前に、NCPは最後のSEND操作を完了しています。 'fgnsck'は接続ソケットに関するソケット識別子です。 '赤字'はNCPがまだ伝えていないビットの数です。
(6) IDENTIFY
(6) 特定します。
This operation is used to identify a local socket by its completion code variable. The operation is valid at any time, and is always completed immediately. Since it is always successful, there are no completion codes for the operation, and the contents of the completion code variable are not changed.
この操作は、完了コード変数で地方のソケットを特定するのに使用されます。 操作は、いつでも、有効であり、すぐに、いつも完了しています。 それがいつもうまくいっているので、操作のための完了コードが全くありません、そして、完了コード変数の内容は変えられません。
The calling sequence is as follows:
呼出し手順は以下の通りです:
CALL @ID(cmpcd,lclsck);
@IDを(cmpcd、lclsck)と呼んでください。
where
どこ
'cmpcd' is the completion code variable to be associated with the local socket 'lclsck' is set to the socket identifier of the local socket if the completion code variable is associated with a socket, or to zero otherwise.
そうでなければ、完了コード変数がソケットか、ゼロに関連しているなら、'cmpcd'完了コードは地方のソケットに関連しているのにおいて可変であり'lclsck'は地方のソケットに関するソケット識別子に設定されます。
(7) SIGNAL
(7) 信号
This operation is used to convey a signal to the foreign process. The significance of the signal is completely user-dependent. The effect is that the next time the foreign socket attempts to initiate a RECEIVE or SEND operation, the operation will be suppressed, and a completion code supplied indicating that a signal had been received. The subprogram will wait until the signal has
この操作は、外国過程に信号を伝えるのに使用されます。 信号の意味はユーザ完全に依存しています。 効果は操作が外国ソケットが、RECEIVEかSEND操作を開始するのを試みる次の時の抑圧されていて完了コードに信号が受信されたのを示しながら供給されたなるということです。 副プログラムは信号が待つまで待っています。
[Page 11] RFC 120 NETWORK PL1 SUBPROGRAMS
[11ページ] RFC120ネットワークPL1副プログラム
been sent to the foreign NCP. This operation is valid only when the socket is fully open.
外国NCPに送ります。 ソケットが完全に開いているときだけ、この操作は有効です。
The calling sequence is as follows:
呼出し手順は以下の通りです:
CALL @ID(cmpcd,time);
@ID(cmpcd、時間)に電話をしてください。
where
どこ
'cmpcd' is the completion code variable associated with the local socket. 'time' is the length of time the subprogram is to wait for completion of the operation.
'cmpcd'は地方のソケットに関連している完了コード変数です。 '時間'は操作の完成を待つ副プログラムがことである時の長さです。
The following completion codes are possible for this operation:
この操作に、以下の完了コードは可能です:
0, The operation was successful, and the signal has been sent 4, The specified completion code variable is not assigned to a socket; the operation was suppressed 8, The connection is not fully open; the operation was suppressed
0 操作はうまくいきました、そして、信号は送って、4、指定された完了コード変数がソケットに割り当てられないということです。 操作は抑圧されて、8、接続が完全にオープンであるというわけではないということでした。 操作は抑圧されました。
Certain of the Network subprograms are intended for, although not restricted to, use with the On-Line System Network operators. The following is a general description of these operators:
あるNetwork副プログラムは部外秘ではありませんが、On-線のSystem Networkオペレータによる使用のために意図します。 ↓これはこれらのオペレータの概説です:
In all Network operations involving the On-Line System Network operators, there are certain conventions concerning the format of the data sent and received. The data is grouped in 'messages' consisting of three fields, op code, length, and text, in that order. The op code is one byte in length and is a code which indicates how the text field is to be interpreted. The length field is two bytes long, and gives the length, in bits, of the text field, which contains the actual data. (The op code and length fields together are termed a header.)
On-線のSystem NetworkオペレータにかかわるすべてのNetwork操作には、データの形式に関する、ある送って受け取られていているコンベンションは、あります。 データは、そのオーダーにおける3つの分野、オペコード、長さ、およびテキストから成りながら、'メッセージ'で分類されます。 オペコードは、長さ1バイトであり、解釈されるテキストフィールドがことである方法を示すコードです。 長さの分野は、2バイト長であり、長さを与えます、テキストフィールドのビットで。(テキストフィールドは実際のデータを含みます)。 (一緒にオペコードと長さの分野はヘッダーと呼ばれます。)
The following op codes are presently defined:
以下のオペコードは現在、定義されます:
op code meaning
オペコード意味
0 The op code is a NOP. No text field exists, and the contents of the length field are unpredictable. (This op code is used mainly as a delimiter.)
0 オペコードはNOPです。 テキストフィールドは全く存在していません、そして、長さの分野の内容は予測できません。 (このオペコードは主にデリミタとして使用されます。)
1 The text field contains EBCDIC characters, one character per byte. The On-Line System Network operators consider the characters as intended for display as soon as the text field has been received.
1 テキストフィールドはEBCDlC文字、1バイトあたり1文字を含んでいます。 テキストフィールドを受け取るとすぐに、On-線のSystem Networkオペレータは、キャラクタが表示のために意図しているとみなします。
[Page 12] RFC 120 NETWORK PL1 SUBPROGRAMS
[12ページ] RFC120ネットワークPL1副プログラム
2 The text contains codes for keypushes, one byte per key. The On-Line operators consider the text as intended for execution as soon as the text field has been received.
2 テキストはkeypushesのためのコード、1キーあたり1バイトを含んでいます。 テキストフィールドを受け取るとすぐに、On-線のオペレータは、テキストが実行のために意図しているとみなします。
3 The same as for an op code of 2, except that the On-Line operators consider that the execution of the keys will be delayed until all data for that receive operation has been received.
3 2のオペコードのように同じです、On-線のオペレータが、それのためのすべてのデータが受信されるまでキーの実行が遅れると考えるのを除いて、操作を受けました。
The standard format of data sent or received by the On-Line System operators is a string of messages, with the last message indicated by a header with a NOP op code, called a trailer. These conventions are the default situation; any of them may be overridden by appropriate programming.
On-線のSystemオペレータが送ったか、または受け取ったデータの標準書式は一連のメッセージです、トレーラと呼ばれるNOPオペコードでヘッダーによって示された最後のメッセージで。 これらのコンベンションはデフォルト状況です。 それらのいずれも適切なプログラミングでくつがえされるかもしれません。
Following are descriptions of those subprograms intended for use with the On-Line System operators.
以下に、使用のために意図するそれらの副プログラムの記述がOn-線のSystemオペレータと共にいます。
(8) WRITE TO ON-LINE CONSOLE
(8) オンラインコンソールに書いてください。
This subprogram causes data, assumed to be characters represented by their EBCDIC codes, to be sent from the specified local socket. The characters are sent in a standard message, preceded by a header, and optionally followed by a trailer. The subprogram waits for the data to be received by the foreign socket, or to be queued locally by the NCP. This operation is valid only when the local socket is a send socket, and is fully open.
この副プログラムで、指定された地方のソケットから彼らのEBCDICコードによって代理をされたキャラクタであると思われたデータを送ります。 キャラクタに標準のメッセージで送られて、ヘッダーによって先行されていて、トレーラは任意に支えています。 副プログラムは、外国ソケットでデータを受け取るか、またはNCPで局所的に列に並ばせるのを待っています。 地方のソケットがaがソケットを送るということであり、完全に開いているときだけ、この操作は有効です。
The calling sequence is as follows:
呼出し手順は以下の通りです:
CALL @WTOLC(cmpcd,bfr,len,level,across,down,time);
@WTOLC(cmpcd、bfr、lenは横切って下に、時間を平らにする)に電話をしてください。
where
どこ
'cmpcd' is the completion code variable associated with the local socket. 'bfr' is the character string to be sent, and must have the attribute STRING, either CHARACTER or BIT, of any length, fixed or varying. 'len', in absolute value, is the number of characters to be sent. If 'len' is positive or zero, the end of the data is indicated by a trailer; if 'len' is negative, no trailer is sent. 'len' has the attributes BINARY FIXED(31,0). 'level' indicates the mode of typing. The absolute value of 'level', if non-zero, is the shift level on which to type, and must be less than or equal to nine. If greater than nine, one is used. If 'level' is positive, 'across'
'cmpcd'は地方のソケットに関連している完了コード変数です。 'bfr'は、送られる文字列であり、属性STRINGを持たなければなりません、キャラクターかBITのどちらかがどんな長さも固定されているか、または異ならせて。 'len'は絶対値が送られるキャラクタの数です。 'len'が積極的であるか、またはゼロ、データの終わりがトレーラによって示されるなら。 'len'が否定的であるなら、トレーラを全く送りません。 'len'には、属性BINARY FIXED(31、0)があります。 'レベル'はタイプのモードを示します。 'レベル'の絶対値は、非ゼロであるならタイプするシフトレベルであり、9以下であるに違いありません。 9以上であるなら、1つは使用されています。 'レベル'が正数、'across'であるなら
[Page 13] RFC 120 NETWORK PL1 SUBPROGRAMS
[13ページ] RFC120ネットワークPL1副プログラム
and down are relative to the current typing location. If 'level' is negative, the carriage is positioned to the upper left-hand corner before typing begins, thus making 'across' and 'down' absolute coordinates. If 'level' is zero, the typing is in case one characters, and a carriage return precedes the positioning for 'across' and 'down'. If the characters to be displayed are case one characters, the header sent will have an op code which indicates characters to be displayed as soon as they are received; otherwise, the op code will indicate buttons to be executed as soon as received. 'level' has the attributes BINARY FIXED(31,0). 'across' is the number of spaces to be moved horizontally across the display tube before beginning to type. 'across' can have any value, positive, negative, or zero, and has the attributes BINARY FIXED(31,0). 'down' is the number of lines to be moved vertically down the display tube before beginning to type. 'down' can have any value, positive, negative, or zero, and has the attributes BINARY FIXED(31,0). 'time' is the length of time the subprogram is to wait for the completion of the operation.
そして、下には位置をタイプする電流に比例しています。 'レベル'が否定的であるなら、タイプが始まる前にキャリッジは左上の手の角に置かれます、その結果、'across'と'down'を絶対座標にします。 'レベル'がゼロであるなら、タイプは1つのキャラクタを中にケースに入れることです、そして、復帰は'across'と'down'のための位置決めに先行します。 1つのキャラクタ、表示されるべきキャラクタがケースであるなら、送られたヘッダーはオペコードを持つでしょう(彼らが受け取られているとすぐに、表示するためにキャラクタを示します)。 さもなければ、オペコードは、受け取るとき実行するためにボタンを示すでしょう。 'レベル'には、属性BINARY FIXED(31、0)があります。 'across'はタイプし始める前に表示管の向こう側に水平に動かされるべき空間の数です。 'across'は陽の、そして、負のどんな値、またはゼロも持つことができて、属性BINARY FIXED(31、0)を持っています。 'down'はタイプし始める前に表示管で垂直に動かされるべき線の数です。 'down'は陽の、そして、負のどんな値、またはゼロも持つことができて、属性BINARY FIXED(31、0)を持っています。 '時間'は操作の完成を待つ副プログラムがことである時の長さです。
The completion codes for this operation are the same as for SEND.
この操作のための完了コードはSENDのように同じです。
(9) READ FROM ON-LINE CONSOLE
(9) オンラインコンソールから、読んでください。
This subprogram receives data, assumed to be characters represented by their EBCDIC codes, from the foreign socket in one or more standard messages. The subprogram will wait for the data, optionally followed by a trailer, to be received by the local socket. This operation is valid only when the local socket is a receive socket and is fully open.
この副プログラムは1つ以上の標準のメッセージの外国ソケットから彼らのEBCDICコードによって代理をされたキャラクタであると思われたデータを受け取ります。 副プログラムは、地方のソケットによって受け取られるのをデータを待っています、任意に、続いてトレーラを待ちます。 地方のソケットがaがソケットを受けるということであり、完全に開いているときだけ、この操作は有効です。
The calling sequence is as follows:
呼出し手順は以下の通りです:
CALL @RFOLC(cmpcd,bfr,len,time);
@RFOLC(cmpcd、bfr、len、時間)に電話をしてください。
where
どこ
'cmpcd' is the completion code variable associated with the local socket. 'bfr' is the variable into which the data is to be placed, and has the attribute CHARACTER, of any fixed length. If the length of 'bfr' is greater than the amount of data received, 'bfr' will be padded to the right with blanks. 'len', in absolute value, is the maximum number of characters to be placed in 'bfr'. If the length fields of the
'cmpcd'は地方のソケットに関連している完了コード変数です。 'bfr'は、置かれるデータがことである変数であり、どんな固定長の属性キャラクターも持っています。 'bfr'の長さがデータ量が受けたより大きいなら、'bfr'は空白で右に水増しされるでしょう。 'len'は絶対値が'bfr'に置かれるべきキャラクタの最大数です。 長さの分野です。
[Page 14] RFC 120 NETWORK PL1 SUBPROGRAMS
[14ページ] RFC120ネットワークPL1副プログラム
header(s) received total more data than 'len', the excess data will be received, but will not be placed into 'bfr', and will not be accessible to the program. If 'len' is positive or zero, data will be received until a trailer is encountered. If 'len' is negative, a single message, exclusive of trailer, will be received. 'len' has the attributes BINARY FIXED(31,0). 'time' is the length of time the subprogram is to wait for the completion of the operation.
受け取られたヘッダーは'len'より多くのデータを合計して、余分なデータを受け取るでしょう、'bfr'に置かれないで、またプログラムにアクセスしやすくはありませんが。 ゼロ、データが'len'が積極的であるか、または積極的になるなら、トレーラが遭遇するまで、受け取ってください。 'len'が否定的であるなら、ただ一つのトレーラが排他的なメッセージを受け取るでしょう。 'len'には、属性BINARY FIXED(31、0)があります。 '時間'は操作の完成を待つ副プログラムがことである時の長さです。
The completion codes for this operation are the same as for RECEIVE.
この操作のための完了コードはRECEIVEのように同じです。
(10) WRITE TO ON-LINE CONSOLE WITH REPLY
(10) 回答でオンラインコンソールに書いてください。
This subprogram combines the functions of 'WRITE TO ON-LINE CONSOLE' and 'READ FROM ON-LINE CONSOLE'. The subprogram first sends a string of data to the foreign socket from the specified send socket, waits for it to be received by the foreign socket (or queued locally by the NCP), and then waits for a reply directed toward the specified receive socket. The operation is valid only when the sockets have the correct gender and both are fully open.
この副プログラムは'WRITE TO ON-LINE CONSOLE'と'READ FROM ON-LINE CONSOLE'の機能を結合します。 副プログラムは最初に外国ソケット(または、局所的に、NCPで、列を作る)で受け取るために指定からの外国ソケットへの一連のデータが送るaにソケット、それのための待ちを送ります、そして、次に、指定に向けられた回答のための待ちはソケットを受けます。 ソケットが正しい性を持って、ともに完全に開いているときだけ、操作は有効です。
The calling sequence is as follows:
呼出し手順は以下の通りです:
CALL @WTOLCR(cmpcd, bfr, len, level, across, down, time, cmpcd2, bfr2, len2);
CALL@WTOLCR(cmpcd、bfr、lenは横切って下に、時間、cmpcd2、bfr2、len2を平らにします)。
where
どこ
'cmpcd' is the completion code variable associated with the local send socket. 'bfr' is as in 'WRITE TO ON-LINE CONSOLE'. 'len' is as in 'WRITE TO ON-LINE CONSOLE'. 'level' is as in 'WRITE TO ON-LINE CONSOLE'. 'across' is as in 'WRITE TO ON-LINE CONSOLE'. 'down' is as in 'WRITE TO ON-LINE CONSOLE'. 'time' is the length of time the subprogram is to wait for completion, individually, of the transmission and reception of data. 'cmpcd2' is the completion code variable associated with the local receive socket. 'bfr2' is as 'bfr' in 'READ FROM ON-LINE CONSOLE'. 'len2' is as 'len' in 'READ FROM ON-LINE CONSOLE'.
'cmpcd'による地方に関連している完了コード変数がソケットを送るということです。 'bfrが'同じくらい中に、ある'というWRITE TO ON-LINE CONSOLE'。 'lenが'同じくらい中に、ある'というWRITE TO ON-LINE CONSOLE'。 'レベルが'同じくらい中に、ある'というWRITE TO ON-LINE CONSOLE'。 'across'はそうです。'WRITE TO ON-LINE CONSOLE'のように。 'down'はそうです。'WRITE TO ON-LINE CONSOLE'のように。 '時間'は個別に完成を待つ副プログラムがことであるトランスミッションの時、データのレセプションの長さです。 'cmpcd2'による地方に関連している完了コード変数がソケットを受けるということです。 'bfr2'が'bfr'として'READ FROM ON-LINE CONSOLE'にあります。 'len2'が'len'として'READ FROM ON-LINE CONSOLE'にあります。
The completion codes for the send socket are the same as for the SEND operation, and the completion codes for the receive socket are the same as for the RECEIVE operation.
受信してください。完了コード、発信、ソケットがSEND操作、および完了コードと同じである、ソケットはRECEIVE操作のように同じです。
[Page 15] RFC 120 NETWORK PL1 SUBPROGRAMS
[15ページ] RFC120ネットワークPL1副プログラム
(11) ERASE
(11) 抹消
This subprogram causes data constituting an On-Line System command to erase the display tube to be sent from the specified local socket. The data is sent in a single standard message, including an op code indicating characters to be displayed as they are received, and optionally including a trailer. The subprogram waits for the data to be received by the foreign socket, or to be queued locally by the NCP. This operation is valid only when the local socket is a send socket, and is fully open.
この副プログラムで、指定された地方のソケットから表示管を消すOn-線Systemコマンドを構成するデータを送ります。 単本位制メッセージでデータを送ります、キャラクタが彼らが受け取られているので表示されて、任意にトレーラを含んでいることであることを示すオペコードを含んでいて。 副プログラムは、外国ソケットでデータを受け取るか、またはNCPで局所的に列に並ばせるのを待っています。 地方のソケットがaがソケットを送るということであり、完全に開いているときだけ、この操作は有効です。
The calling sequence is as follows:
呼出し手順は以下の通りです:
CALL @ERASE(cmpcd,delay1,delay2,time);
@ERASE(cmpcd、delay1、delay2、時間)に電話をしてください。
where
どこ
'cmpcd' is the completion code variable associated with the local socket. 'delay1', in absolute value, is the length of time, in tenths of a second, the subprogram is to pause (in the WAIT state) before sending the erase. If 'delay1' is positive or zero, a trailer will be sent after the erase; if negative, no trailer will be sent. 'delay1' has the attributes BINARY FIXED(31,0). 'delay2', is the length of time, in tenths of a second, the subprogram is to pause after sending the erase and before returning control to the calling program, and has the attributes BINARY FIXED(31,0). 'time' is the length of time the subprogram is to wait for the completion of the operation.
'cmpcd'は地方のソケットに関連している完了コード変数です。 'delay1'は絶対値が時間の長さです、1秒の10分の1で副プログラムが抹消を送る前に止まる(WAIT状態で)ことです。 ゼロ、トレーラが'delay1'が積極的であるか、または積極的になるなら、抹消の後に送ってください。 否定的であるなら、トレーラを全く送らないでしょう。 'delay1'には、属性BINARY FIXED(31、0)があります。 'delay2'は、抹消を送った後とコントロールを呼ぶプログラムに返す前に止まる1秒の10分の1の副プログラムがことである時の長さであり、属性BINARY FIXED(31、0)を持っています。 '時間'は操作の完成を待つ副プログラムがことである時の長さです。
The completion codes for this operation are the same as for SEND.
この操作のための完了コードはSENDのように同じです。
[ This RFC was put into machine readable form for entry ] [ into the online RFC archives by Rune Skaarsmoen 6/97 ]
[このRFCはエントリーのためのマシンに入れられた読み込み可能なフォームでした][Rune Skaarsmoen6/97によるオンラインRFCアーカイブへの]
[Page 16]
[16ページ]
一覧
スポンサーリンク