Commit Graph
3 Commits
Author SHA1 Message Date
Olaf Bergmann d5dc48d97a Track local network interface for received packets.
Changed various functions to pass the local interface using the
new coap_endpoint_t abstraction. This change uses the functions
implemented earlier in commit 786ca6da (branch dcaf) but does not
use callback functions for network I/O.

This change closes bug #23 "server responds from wrong endpoint
(ipv6 address)" (POSIX only, CONTIKI and LWIP tbd).
2014-03-21 18:12:40 +01:00
Olaf Bergmann d14de4703c Merged changes from commit 10eb1db6
This change enables the use of endpoints with specific properties such
as secure transmission.
2014-03-20 12:59:43 +01:00
Olaf Bergmann 9876ea6bc9 Default network I/O functions for libcoap
This module defines a structure coap_endpoint_t that will be used to
identify the local interface for network I/O in libcoap. coap_endpoint_t
has an opaque handle and the local interface address. The tuple (handle,
address) uniquely identifies a virtual endpoint within a libcoap context.
2014-03-19 17:34:24 +01:00