modified some code to make tcp header.
authorjihwan.seo <jihwan.seo@samsung.com>
Fri, 2 Oct 2015 04:42:15 +0000 (13:42 +0900)
committerPatrick Lankswert <patrick.lankswert@intel.com>
Mon, 5 Oct 2015 22:28:06 +0000 (22:28 +0000)
commit27f18c55a2d55c5f9b3e3006d5ca8845f27d69a5
treee0f683b2a1ef7a0d77536760c71d2828d3400618
parentdf87f2512d918577dae2c3bdde88b14ccb17183e
modified some code to make tcp header.

I have modified for tcp header which
has 0 ~ 12 length or 8bit message length.
since previous code has potential issue for byte ordering.

Change-Id: Id2f63608442ccf85558c61dbfd631a01f59ad8b9
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3401
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
resource/csdk/connectivity/lib/libcoap-4.1.1/option.c
resource/csdk/connectivity/lib/libcoap-4.1.1/pdu.c
resource/csdk/connectivity/lib/libcoap-4.1.1/pdu.h