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

Sockets

Draft MDC Standard

7.1.3.2.4 Sockets

The following nodes are defined in ^$Device for the SOCKET mnemonicspace:

^$Device( devicexpr , expr V "SOCKET") = intexpr

Each device has a collection of sockets associated with it. Each new socket is identified by a socket identifier which is assigned an index number in the collection of sockets. This node of ^$Device defines the index number of the current socket.

^$Device( devicexpr , expr V "SOCKET", intexpr , expr2 V "DELIMITER") = intexpr2

This provides the number of I/O delimiters, as defined using the DELIMITER deviceattribute, in effect for the device/socket. (See Appendix H, 3.1.3)

^$Device( devicexpr , expr1 V "SOCKET", intexpr1 , expr2 V "DELIMITER", intexpr2) = expr

This provides the n-th I/O delimiter string. (See Appendix H, 3.1.3)

^$Device( devicexpr , expr1 V "SOCKET", intexpr , expr2 V "IOERROR") = expr3

I/O error trapping mode. (See Appendix H, 3.1.4)

^$Device( devicexpr , expr1 V "SOCKET", intexpr , expr2 V "LOCALADDRESS") = expr3

This provides the local network node address of the connection

^$Device( devicexpr , expr1 V "SOCKET", intexpr , expr2 V "PROTOCOL") = expr3

This provides the network protocol used for the connection

^$Device( devicexpr , expr1 V "SOCKET", intexpr , expr2 V "REMOTEADDRESS") = expr3

This provides the remote network node address of the connection

^$Device( devicexpr , expr1 V "SOCKET", intexpr , expr2 V "SOCKETHANDLE") = expr3

The value of this node is an implementation-specific string that provides the socket identifier of the indicated socket.

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 17-Nov-2023, 16:33:33.

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