j
k
j a
j l
请艳红、海丰 协助分析一下 From: 柏光宾 via dev Sent: Wednesday, August 16, 2023 8:55 PM To: dev Subject: [Dev] help 您好, 我在OH3.2上,移植了mongoose: https://mongoose.ws/https://mongoose.ws/,打 计划使用mongoose建立本地HTTP Server,但在执行如下代码时失败了: mg_connection *conn = mg_http_listen(&mgr, "127.0.0.1:11695", reinterpret_cast(fn), this); 分析原因是使用socket bind 127.0.0.1 11695 失败,请问在OH3.2上如何才能顺利绑定loopback的端口号? https://lingxi.office.163.com/static_html/signature.html?id=477717365081277761&show= [https://cowork-storage-public-cdn.lx.netease.com/sign/2023/03/02/7f73af5f127...]https://lingxi.office.163.com/static_html/signature.html?id=477717365081277761&show= 柏光宾https://lingxi.office.163.com/static_html/signature.html?id=477717365081277761&show= baiguangbin@piesat.cnhttps://lingxi.office.163.com/static_html/signature.html?id=477717365081277761&show= 签名由 网易灵犀办公https://hubble.netease.com/sl/aaagLd 定制 [https://tr.qiye.163.com/datacapture/mailreport/v2/0a89fe64bad0b215kuuu189b65f0e8c?zone=hz&to=dev@openharmony.io&tm=1692190499394&sign=f70b12651076d89c5fe8b42d38b0182c&from=baiguangbin@piesat.cn&mid=&ack=0&toname=dev]
Attachments:
Back to the thread
Back to the list