websCloseListen GoAhead WebServer API GoAhead EMF

Synopsis

Close the TCP/IP port used by the web server

Prototype

#include "webs.h"

int websCloseListen();

Parameters

none

Description

The websCloseListen procedure closes the TCP/IP port on which the GoAhead WebServer is listening. This will not affect any currently open browser connections. This procedure is sometimes used when changing the listening port at run-time.

Return Value

None.

Example

websCloseListen();

websOpenListen(port,retries);

See Also

websCloseServer, websOpenServer, websOpenListen