EnableConnection

Enables the server to service requests for the specified connection

Local Servers:nonblocking
Remote Servers:N/A
Classification:3.x, 4.x, 5.x, 6.x
Service:Connection Number and Task Management

Syntax

  #include <nwcntask.h>  
   
  int EnableConnection  (  
     LONG   connection); 
  

Parameters

connection
(IN) Specifies the connection number to enable.

Return Values

The following table lists return values and descriptions.

Value

Hex

Name

Description

0

(0x00)

ESUCCESS

Connection was enabled.

Remarks

This function reverses the effect of the DisableConnection function, allowing the server to again service requests for the specified connection number.

Call EnableConnection only if you have previously called DisableConnection successfully

See Also