Skip to main content

ec_httpsrv_request_local_address

Last updated March 2020

Name

ec_httpsrv_request_local_address — Returns the local IP address from the current session

Synopsis

#include "/modules/listeners/httpsrv.h"

| ec_sockaddr * **ec_httpsrv_request_local_address** ( | sess); |   |

ec_httpsrv_session * <var class="pdparam">sess</var>;

Description

**Configuration Change. ** This option is available as of version 4.0.

This function returns the local IP address from the current session.

Parameters

sess

session to interrogate

Return Values

address in ec_sockaddr * format

The local IP address will be valid for the lifetime of the session.

Was this page helpful?