Skip to main content

Name

connection_address — Returns the address data associated with a connection

Synopsis

#include "connection.h"

| address * **connection_address** ( | c); |   |

connection * <var class="pdparam">c</var>;

Description

Returns the address data associated with a connection.

Parameters

c

A pointer to a connection struct. For documentation of this data structure see “connection”.

Return Values

This function either returns valid address data associated with connection data, or it returns NULL if there is no address associated with the connection.

Threading

It is only legal to call this function in the Scheduler thread.

Was this page helpful?