websSetIpaddr GoAhead WebServer API GoAhead EMF

Synopsis

Define the IP address for the web server.

Prototype

 #include "webs.h" 
 
 void websSetIpaddr(char_t *ipaddr); 

Parameters

ipaddr IP address for the server running the web server.

Description

The websSetIpaddr procedure defines the IP address for the web server.

If you are using the GoAhead WebServer, you should call this procedure in your main.c. If you are using the GoAhead EMF, it will be called automatically for you.

Return Value

None

Example

 ipaddr = getIpaddr(); 
websSetIpaddr(ipaddr); 

Stability Classification

Stable.

See Also

websGetHost, websSetHost