websGetHost GoAhead WebServer API GoAhead EMF

Synopsis

Returns the hostname for the web server.

Prototype

 #include "webs.h" 

 char_t *websGetHost(); 

Parameters

None

Description

The websGetHost procedure returns a string containing the local server host name on which WebServer is running.

Return Value

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

Example

 
host = websGetHost(); 

Stability Classification

Stable.

See Also

websGetPort, websGetHostUrl