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)
; | |
Description
**Configuration Change. ** This option is available as of version 4.0.
This function returns the local IP address from the current session.
- sess
-
session to interrogate
address in ec_sockaddr * format
The local IP address will be valid for the lifetime of the session.
Was this page helpful?