1# libcoap server example 2 3This example shows how to configure a server to use libcoap 4 5## Fast configuration (Between RIOT instances): 6 7Preparing the logical interfaces: 8 9 sudo ./../../dist/tools/tapsetup/tapsetup --create 2 10 11## Server invocation 12For the server: 13 14 PORT=tap0 make term 15 coaps {stop|start} 16 17The server supports requests for 18 coap://[ip]/time?ticks 19 coap://[ip]/.well-known/core 20 21## Handling the static memory allocation 22 23libcoap for RIOT is using the `sys/memarray` module and therefore there 24are certain limits. Said resources are defined in `libcoap/src/coap_mem.c`, 25but can be overwritten at compile time. 26