Sequencer ports

Each client may have several ports. A port is corresponding to MIDI port in the case of MIDI device, but in general it is nothing but the access point between other clients. Each port may have capability flags, which specify the read/write accessbility and subscription permissions of the port. On the other word, for communicating with other clients, a port must be created.