> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionAbstractCreateAddress

# Abstract\_CreateAddress (obsolete)

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE

## Function Syntax

`addressHandle Abstract_CreateAddress(CommunicationObject co, char[] name);`

## Description

Creates a pseudo address for a communication object endpoint if abstract binding is used. The address can be attached to an endpoint with [SD\_SetAddress](CAPLfunctionSDSetAddress.md). For abstract binding, the address of an endpoint actually does not contain more information than a name which can be retrieved again through [Abstract\_GetDisplayName](CAPLfunctionAbstractGetDisplayName.md).

The address is necessary for implementation of service discovery; e.g. in the handlers [on SD\_consumer\_discovered](../EventProcedures/CAPLfunctionOnSDConsumerDiscovered.md) and [on SD\_provider\_discovered](../EventProcedures/CAPLfunctionOnSDProviderDiscovered.md), the address is passed as a selector.

## Parameters

* **co**: Communication object (usually a service) for which the address shall be created.
* **name**: Name for the address (e.g. the name of the endpoint).

## Return Values

—

## Example

```plaintext theme={null}
SD_SetAddress(newProvider, Abstract_CreateAddress(MirrorAdjustment, "RearMirror"), MirrorAdjustment[CANoe]);
```

[Programming with the Communication Concept (C#, Python and CAPL)](../../../CANoeCANalyzer/CommunicationConcept/Programming/CCP.md) • [Abstract\_ReleaseAddress](CAPLfunctionAbstractReleaseAddress.md) • [SD\_SetAddress](CAPLfunctionSDSetAddress.md) • [Abstract\_GetDisplayName](CAPLfunctionAbstractGetDisplayName.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.