libcoap  4.1.1
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Functions | Variables
tiny.c File Reference
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <limits.h>
#include <sys/select.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include "../coap.h"

Go to the source code of this file.

Functions

coap_pdu_tmake_pdu (unsigned int value)
 
void usage (const char *program)
 
coap_context_tget_context (const char *node, const char *port)
 
int main (int argc, char **argv)
 

Variables

static coap_tid_t id
 

Function Documentation

coap_context_t* get_context ( const char *  node,
const char *  port 
)

Definition at line 66 of file tiny.c.

int main ( int  argc,
char **  argv 
)

Definition at line 100 of file tiny.c.

coap_pdu_t* make_pdu ( unsigned int  value)

Definition at line 26 of file tiny.c.

void usage ( const char *  program)

Definition at line 51 of file tiny.c.

Variable Documentation

coap_tid_t id
static

Definition at line 23 of file tiny.c.