
VTCPD Messages
P0602483 Ver: 03.41 Page 49
Args (cont): A:Lf[:hp[:hl]] Specifies that the (ASCII) length field is
embedded within the message header.
A:n Specifies the length (in ASCII format) of the
message header, which contains the data length
in ASCII format.
a:n Specifies that the length in the header field
includes the length of the data in addition to the
length of the header.
Examples: vtcpd -f 120
The message has a fixed length of 120.
vtcpd -f d:0x0A
The messages are delimited by newline characters (0x0A).
vtcpd -f l:2 -m t
The message length is contained in a two-byte header. Any trailing spaces in
the message are removed before it is sent to the host.
vtcpd -f A:3
The message length is contained in a three-character header. For example,
if the message sent by the host is "ABCDE", the message as received by an
application is "008ABCDE".
vtcpd -f a:3
The combined message and data length is contained in a three-character
header. For example, if the message sent by the host is "ABCDE", the
message as received by an application is "005ABCDE".
vtcpd -f a:4:1:4 -or- vtcpd -f l:4
The message header contains only the length field (4 bytes in ASCII format)
and the header is stripped when passed to the application.
vtcpd -f l:2:1:8 -m h
The message header contains 8 bytes, the binary length field of 2 bytes is at
the beginning of the header, and the header is passed to the application.
Message Format Options
vtcpd
-f {# | d:D | l:{#|lf[:hp[:hl]]} |
L:{w|lf[:hp[:hl]]} |
a:{n|lf[:hp[:hl]]} |
A:{n|lf[:hp[:hl]]}
[{-m
h] | -m t}]
Kommentare zu diesen Handbüchern