Often, an application needs to connect multiple streams. For example, a custom server for matrix switching must connect caller A's transmit stream to caller B's receive stream and vice versa. For this reason the concept of a port set is useful. A port set is a set of one or more ports which may need to be connected to a complementary port set as a single operation. Examples of port sets containing more than one port are:
Port sets are defined and named in a configuration file supplied as part of the software support for an adapter. You do not need to modify this file, but you may need to refer to it to understand what port sets have been defined. The custom server subroutines accept port set names as parameters. A port set may consist of a single port. A port can be a member of several port sets as it may need to be used in different combinations by different applications. Port sets to be connected must be compatible, that is they must contain a complementary number of sources and sinks.