Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
df43f17
commit 5c69149
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters