Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

READ

Draft MDC Standard

3.3 Read Command

The Read command may be used to obtain data from a socket.

A Read operation will terminate if any of the following are detected, in the order specified:

For multi-character I/O delimiters, the possibility exists due to the stream nature of transmissions, that characters which would otherwise match an I/O delimiter may actually be spread across multiple ‘packets’. In the event that the last ‘n’ characters received (n > 0) match a prefix of one or more I/O delimiters, the implementation must determine if any of the additionally expected characters complete the match with the I/O delimiter(s). One implementation would be to internally issue a timed Read. A timeout of this internally issued timed Read does not affect $Test. The time associated with this internal timed Read is implementation specific and is not included in the timeout which may have been optionally specified on the actual Read command.

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 16-Nov-2023, 14:53:28.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)