VSTa manual pages  - MSG_CONNECT (2)

NAME

msg_connect - connect to server

CONTENTS

Synopsis
Description

SYNOPSIS

#include <sys/msg.h>
int msg_connect(port_name pn, int mode);

DESCRIPTION

The msg_connect() system service connects a client to a server. pn specifies the server which passed this value in its call to msg_port().

mode is passed to the server, and specifies the type of access requested. By convention, these bits are defined in <sys/fs.h> and include:


ACC_READ - Read access 

ACC_WRITE - Write access 

ACC_EXEC - Execute 

ACC_CREATE - Create/truncate 

ACC_DIR - Access directory 

ACC_CHMOD - Allow changes of mode and ownership 

A connection attempt is synchronous; this call will not return until the server has received the call, processed it, and responded with either a msg_accept(), msg_err(), or terminated due to an explicit exit() or an unhandled event.


MSG_CONNECT (2)
Generated by manServer 1.06 from msg_conn.2 using man macros.