Modified OCInitUDP to support security.
authorSashi Penta <sashi.kumar.penta@intel.com>
Mon, 10 Nov 2014 21:21:25 +0000 (13:21 -0800)
committerSashi Penta <sashi.kumar.penta@intel.com>
Fri, 14 Nov 2014 04:22:13 +0000 (20:22 -0800)
commit2edb3f8cbe98fc85fea2e09257404e968ca43235
tree1b7850b3bdcca6f9eabc406e3e0ef227e7987994
parentf3a238bed64e06d4387190117d15ed7eb808be81
Modified OCInitUDP to support security.

Added a new flag to OCInitUDP to indicated whether to reuse the address or not.
Modified create_new_context API. It now takes the ipAddr[4] as input. This needs
to be passed further down to dtls_init.

signed-off-by: Sashi Penta <sashi.kumar.penta@intel.com>
Change-Id: I536f215bf2a1ff4c90685e7a19e32fcb76f1e912
resource/csdk/libcoap-4.1.1/net.c
resource/csdk/libcoap-4.1.1/net.h
resource/csdk/libcoap-4.1.1/sec/netdtls.c
resource/csdk/libcoap-4.1.1/sec/netdtls.h
resource/csdk/occoap/src/occoap.c
resource/csdk/ocsocket/include/ocsocket.h
resource/csdk/ocsocket/src/ocsocket.c
resource/csdk/ocsocket/src/ocsocket_arduino.cpp
resource/csdk/ocsocket/src/ocsocket_arduino_wifi.cpp