![]() |
session refnum is a session refnum, which you use in subsequent communication for this session. |
![]() |
accept? indicates whether the VI accepts or rejects a PPC session. The default is TRUE. |
![]() |
reject info contains an application-defined value you return if you reject a session. |
![]() |
session refnum output has the same value as session refnum if accept? is TRUE. Otherwise, the value of session refnum output is 0. |
![]() |
error, if negative, indicates a Macintosh error. If positive, error indicates an error internal to the CIN that generated it. Refer to the PPC Error Codes for a list of PPC error codes and their descriptions. |
Use this VI with the PPC Inform Session VI. PPC Inform Session allows you to automatically accept all incoming sessions. If you set the automatically accept input of PPC Inform Session to FALSE, you then can use the information in the request info output to decide whether to accept an incoming session. When you calculate your decision, use PPC Accept Session to accept or deny the session. You should call this VI as soon as possible after returning from PPC Inform Session because the program making the session request blocks until you respond.