VSTa manual pages  - MSG_DISCONNECT (2)

NAME

msg_disconnect - disconnect a port

CONTENTS

Synopsis
Description

SYNOPSIS

#include <sys/msg.h>
int msg_disconnect(port_t port);

DESCRIPTION

msg_disconnect() causes a port to close. When applied to a server’s port, each client will receive an I/O error on their next attempt to use the port. If the client already has an I/O outstanding, it will be completed in error immediately.

When used by a client, a M_DISCONNECT message is queued to the server. The server may clean up any data structures, but does not need to reply. The client has already been disassociated from the port.


MSG_DISCONNECT (2)
Generated by manServer 1.06 from msg_disc.2 using man macros.