websGetRequestIpaddr GoAhead WebServer API GoAhead EMF

Synopsis

Return the IP address of the requesting browser.

Prototype

 #include "webs.h" 

 char_t *websGetRequestIpaddr(webs_t wp); 

Parameters

wp Web server connection handle.

Description

The websGetRequestIpaddr procedure returns the IP address of the requesting browser.

Return Value

Pointer to a statically allocated string containing the IP address. Do not call bfree.

Example

 
char_t *ipaddr; 
ipaddr = websGetRequestIpaddr(wp); 

Stability Classification

Stable.

See Also

websGetRequestDir, websGetRequestPassword, websGetRequestPath, websGetRequestType