Show page source of SKKServ #38273

SKKServプロトコル

    プロトコルの文字エンコーディングはEUC-JP[[BR]]

    プロトコルはクライアントからの要求にサーバーが処理結果を返却するようになっている。[[BR]]

    <LF> ::= #x0a[[BR]]
    <CR> ::= #x0d[[BR]]
    <CRLF> ::= <CR><LF>[[BR]]
    <EOL> ::= <LF> | <CR> | <CRLF> | ""[[BR]]

    <number> ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"[[BR]]
    <letter> ::= [[BR]]
    <word> ::= <letter> { <letter> }[[BR]]
    <whitespace> ::= " "[[BR]]
    <separator> ::= " " | "/"[[BR]]

    <candidates> ::= { <separator> <word> } <separator>

    クライアントからの切断要求[[BR]]
    <disconnect request> ::= "0"[[BR]]
    クライアントからの変換要求[[BR]]
    <convert request> ::= "1"[[BR]]
    クライアントからの版数要求[[BR]]
    <version request> ::= "2"[[BR]]
    クライアントからのサーバー名要求[[BR]]
    <name request> ::= "3"[[BR]]
    クライアントからの補完要求[[BR]]
    <completion request> ::= "4"[[BR]]

    サーバーが障害状態[[BR]]
    <error status> ::= "0"[[BR]]
    候補が発見できた状態[[BR]]
    <candidate found status> ::= "1"[[BR]]
    候補が発見できなかった状態[[BR]]
    <candidate not found status> ::= "4"[[BR]]
    接続を受け付けられない状態[[BR]]
    <service not available status> ::= "9"[[BR]]

    <request code> ::= <disconnect request> | <convert request> | <version request> | <name request> | <completion request>[[BR]]
    <status code> ::= <error status> | <candidate found status> | <candidate not found status> | <service not available status>[[BR]]

    <version form> ::= <word> "." { <number> } + "." { <number> } +[[BR]]
    <address form> ::= <hostname> ":" { <address> ":" } +[[BR]]

    <client end> ::= <disconnect request>[[BR]]
    <client request> ::= <convert request> <word> <whitespace>[[BR]]
    <client version> ::= <version request>[[BR]]
    <client host> ::= <name request>[[BR]]
    <client server completion> ::= <completion request> <word> <whitespace>[[BR]]

    クライアントからの要求形式[[BR]]
    <client requests> ::= <client end> | <client request> |
        <client version> | <client name> | <client server completion>[[BR]]
    サーバーからの返却形式[[BR]]
    <server reply> ::= ( <status code> <candidates> <LF> )
        | ( <version form> <whitespace> )
        | ( <address form> <whitespace> )[[BR]]