commit | 5c691491a7404a6d53420ea748a0f4b076fb7013 | [log] [tgz] |
---|---|---|
author | Christopher Friedt <chrisfriedt@gmail.com> | Thu Oct 29 14:52:51 2020 -0400 |
committer | Andrew Boie <andrewboie@gmail.com> | Mon Nov 09 16:15:02 2020 -0800 |
tree | 1836ad190ce94eb8c234563730865b879f963772 | |
parent | df43f178832647bd217a31195c99a44735e4913a [diff] |
net: context: add net_context api to check if a port is bound This change adds net_context_port_in_use(), which is a simple wrapper around net_context_check_port() and is used to check if a particular socket is bound to a given IP address. Fixes #29649 Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>