Added function to BIP to detect when the UDP port number changed.
This commit is contained in:
@@ -84,6 +84,7 @@ extern "C" {
|
|||||||
/* use network byte order for setting */
|
/* use network byte order for setting */
|
||||||
void bip_set_port(
|
void bip_set_port(
|
||||||
uint16_t port);
|
uint16_t port);
|
||||||
|
bool bip_port_changed(void);
|
||||||
/* returns network byte order */
|
/* returns network byte order */
|
||||||
uint16_t bip_get_port(
|
uint16_t bip_get_port(
|
||||||
void);
|
void);
|
||||||
|
|||||||
Reference in New Issue
Block a user