OpenTP1 Version 7 Programming Reference C Language

[Contents][Index][Back][Next]

dc_mcf_tofln - Stop accepting server-type connection establishment requests

Format

ANSI C, C++

#include <dcmcf.h>
int dc_mcf_tofln (DCLONG action, DCLONG mcfid, char *resv01,
char *resv02)

K&R C

#include <dcmcf.h>
int dc_mcf_tofln (action, mcfid, resv01, resv02)
DCLONG action;
DCLONG mcfid;
char *resv01;
char *resv02;

Description

The dc_mcf_tofln() function stops accepting server-type connection establishment requests.

Arguments whose values are set in the UAP

action

Set DCNOFLAGS.

mcfid

Specify the MCF communication process identifier of the MCF communication service that is to be processed. The permitted value range is from 1 to 239.

resv01, resv02

Specify NULL.

Return values

Return value Return value (numeric) Explanation
DCMCFRTN_00000 0 Normal termination.
DCMCFRTN_71001 -12001 The dc_mcf_tofln() function cannot be accepted because the MCF is under start processing.
DCMCFRTN_71002 -12002 The dc_mcf_tofln() function cannot be accepted because the MCF is under termination processing.
DCMCFRTN_71004 -12004 A memory shortage occurred during dc_mcf_tofln() function processing.
DCMCFRTN_71005 -12005 A communication error occurred. For the cause, see the message log file.
DCMCFRTN_71006 -12006 An internal error occurred. For the cause, see the message log file.
DCMCFRTN_71009 -12009 The dc_mcf_tofln() function is not supported by the applicable MCF communication process.
DCMCFRTN_71010 -12010 Although the request to stop accepting server-type connection establishment requests was issued to the MCF communication process, the request was not accepted. For the cause, see the message log file.
DCMCFRTN_72050 -13050 DCNOFLAGS is not set in action.
DCMCFRTN_72052 -13052 NULL is not set in resv01.
DCMCFRTN_72053 -13053 NULL is not set in resv02.
DCMCFRTN_72061 -13061 A value of 0 or smaller or of 240 or greater is specified for mcfid.