Add bind option (UDP, Linux)

This commit is contained in:
wh201906 committed 2023-10-23 01:48:38 +08:00
1 parent a2fdab98b5
commit 225b1894f9
3 files changed
+112 -2

No files matched your search

+4
View File
@@ -82,4 +82,8 @@ int uart_reconfigure_timeouts(uint32_t value);
*/
uint32_t uart_get_timeouts(void);
/* Specify the outbound address and port for TCP/UDP connections
*/
bool uart_bind(int sfd, char *bindAddrStr, char *bindPortStr, bool isBindingIPv6);
#endif // _UART_H_