Technical detail

Networks

Using APL2, you can communicate around the world.

Unlike other languages that require you to use complicated network protocols, APL2 makes communication as easy as assigning and referencing names that you've shared with other sessions. To send data to another session, simply assign it to a shared name; to receive data, just use the name.

To communicate with another session on the network, simply share another name. You can share as many names with as many sessions as you like. APL2 manages all the network protocols -- you stay focused on your problem.

With APL2, one method is all you need for both local and network communication. It even works between different types of machines and operating systems.

APL2's communication methods are simple -- but simple doesn't mean simplistic. These methods are flexible enough for today's and tomorrow's cooperative processing solutions. From communication between users to distributing your solution across an entire network, APL2 gives you the flexibility you need to enable your solution for networks.

Although all of your communication needs can be handled using one method, the style of your solution will depend upon the requirements of your problem. APL2 supports all of the common styles of solutions. Here are some common styles which may be appropriate for your problems:


Client-Server - Control and serialize access for multiple users

Peer-to-Peer - Use several machines to solve a single problem

Master-Slave - Access another machine's facilities or power

The network connection

APL2's network communication facilities are based on TCP/IP. You can communicate with APL2 users and programs using cross-system shared variables.

You can communicate with programs written in other languages using APL2's TCP/IP socket interface.

You can use the APL2 session manager on your workstation to control a remote APL2 interpreter.

[Previous: Graphics]

Contact IBM

Considering a purchase?