IP_TaskSetDomain

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_TaskSetDomain`

`IP_TaskSetDomain` -- sets or changes a task's domain name.

## Syntax

``void IP_TaskSetDomain`(IP_Task* task, char* domain);`

## Arguments

`task`

  A task.

`domain`

  A domain name, or `NULL`.

## Returns

None.

## Description

This function sets or changes the domain name for the `task`. If the `task` has an existing domain name, then memory associated with that domain name is freed and a new domain name is allocated. If `domain` is `NULL`, then the default domain name is used.

## See Also

Task Structures, Domains in the Cascade NameServer chapter, `IP_TaskDefaultDomain`, `IP_TaskSetQname`

Prev | Home | Next
`IP_TaskSendSync` | Up | `IP_TaskSetInfo`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.