IP_TaskCloseSync

IP_TaskCloseSync — closes synchronous connections and cleans up resources.

Syntax

#include <cogent.h>

int IP_TaskCloseSync(IP_Task* task);

Arguments

task

A task pointer.

Returns

0 on success, or -1 on failure and errno is set.

Description

This function closes any open synchronous connections to the given task, and cleans up any associated resources. The task should not refer to the current process.

See Also

Task Structures, IP_TaskSendSync