IP_NserveSetDomain

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_NserveSetDomain`

`IP_NserveSetDomain` -- changes a task's domain name.

## Syntax

``int IP_NserveSetDomain`(IP_Task* task, char* domain);`

## Arguments

`task`

  A pointer to task structure for this task.

`domain`

  A new domain name for this task.

## Returns

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

## Description

This function modifies the domain name of the `task`, and informs nserve of that change.

## See Also

The Cascade NameServer, Cascade NameServer Functions, nserve

Prev | Home | Next
`IP_NserveRemove` | Up | `IP_pfTaskComp`

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