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 the web server is running.

Return Value

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

Example

host = websGetHost();

See Also

websGetPort, websGetHostUrl