Skip to main content
Previous sectionNext section

TCP/IP

Communicate via TCP/IP; work with TCP devices.

Background Information

TCP/IP is the common name for a suite of protocols for the Internet and other networks. TCP (Transmission Control Protocol) and IP (Internet Protocol) are the two original components of this suite.

Available Tools

Caché TCP binding

Enables you to set up communication between Caché processes using TCP/IP. See the Caché I/O Device Guide.

Availability: All namespaces.

Includes the following methods:

  • TCPName()

  • TCPStats()

Availability: All namespaces.

Provides an interface for multiplexing Cache TCP devices. The reference information for this class includes examples.

Availability: All namespaces.

Provides an interface for retrieving the IP address and port of current Caché TCP device.

Availability: All namespaces.

Ensemble TCP adapters

Enable an Ensemble production to manage an incoming or outgoing TCP connection. The adapters allow simultaneous handling of multiple connections. They support character and binary data streams, and counted data blocks.

See Using TCP Adapters with Ensemble.

The TCP adapters are also built into many specialized Ensemble classes, discussed in other Ensemble books.

Availability: All Ensemble-enabled namespaces.

Reminder

The special variable $SYSTEM is bound to the %SYSTEM package. This means that (for ObjectScript) instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().