未验证 提交 d56e8618 编写于 作者: D David Lin 提交者: GitHub

Update HAL_UDP_win.c

tcp -> udp
上级 c0eb482c
......@@ -46,7 +46,7 @@ uintptr_t HAL_UDP_Connect(const char *host, unsigned short port)
hints.ai_family = AF_INET;
hints.ai_protocol = IPPROTO_UDP;
Log_d("establish tcp connection with server(host=%s port=%s)", host, port_str);
Log_d("establish udp connection with server(host=%s port=%s)", host, port_str);
if (getaddrinfo(host, port_str, &hints, &addr_list) != 0) {
Log_e("getaddrinfo error,errno:%s", strerror(errno));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册