Update Linux IP adapter
Update Linux IP adapter

* On the server-side, enable OCF discovery over the IPv6
  realm-local and site-local scopes, in addition to the
  link-local scope.
* Declare IPv6/v4 multicast addresses in binary form instead
  of a string. This eliminates the need to use inet_pton()
  to do the translation.
* Add error check from sendto() in oc_send_buffer().
* Close IPv4 sockets in oc_connectivity_shutdown().

Change-Id: I6d1cb7dae4494aa3cef7251f6000ea12346d0a74
Signed-off-by: Kishen Maloor <c62ddea3cd661a9268bff15f07fc2229cdc9ac02@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17357

iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained