Chat.c example details
UDP details
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#include <inttypes.h>
#include <time.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#pragma CODE_SECTION(main , ".commontext");
{
int main_loop = 1;
{
}
CPrintf (
" *** timer %d mapped to CPU int %d ***\r\n",
5061,
5031,
{
}
5062,
5032,
{
}
CPuts (
" network startup time [sec]: ");
"%"PRId32".%03"PRId32"\r\n"
CPuts (
"\r\n Entering main loop ...");
while ( main_loop )
{
{
if (len)
{
}
}
}
return (0);
}