When user creates a socket using net_context_get(), the function requires local endpoint IP address. This should not be a NULL pointer because the storage for that IP address was statically allocated inside the function. Because of this the user needs to allocate the storage for this and pass that local IP address to the function. The net_context_get() will fill that local address to sane value if user passes ANY address (== all bytes are zeroes) to it. Change-Id: I88314957f07912d9ecbe517a2402822401d81bd9 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> |
||
|---|---|---|
| .. | ||
| buf.h | ||
| ip_buf.h | ||
| l2_buf.h | ||
| net_core.h | ||
| net_ip.h | ||
| net_socket.h | ||
| tinydtls.h | ||