Add bind option (UDP, Windows)

This commit is contained in:
wh201906 committed 2023-10-23 13:30:27 +08:00
1 parent 225b1894f9
commit 15ef4f6768
3 files changed
+114 -15

No files matched your search

+1 -1
View File
@@ -84,6 +84,6 @@ 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);
bool uart_bind(void *socket, char *bindAddrStr, char *bindPortStr, bool isBindingIPv6);
#endif // _UART_H_