# mco_lews_start
RT

### Prototype

        MCO_RET mco_lews_start();

### Description

> `mco_lews_start()` initiates the HTTP web server by activating the listening socket and starting the incoming connection handling loop. This function should be invoked in a separate thread (task) as it does not relinquish control until mco_lews_stop() is executed.

>         ...
>         if ((ret = mco_lews_start()) != MCO_S_OK) {
>             printf("mco_lews_start error %d", ret);
>         }
>         ...

### Return Codes

MCO_S_OK
No errors
Other
The network error code

### Files

Header file:
mcoewslite.h
Source file:
mcoewslite.c
Library:
mcoewslite.a