linux 下bind函数: Cannot assign requested address
时间: 2023-09-22 09:10:30 浏览: 417
函数简介bind-linux平台下的C编程
出现"Cannot assign requested address"错误是因为在Linux中,bind函数用于将socket与指定的IP地址和端口绑定。然而,当出现该错误时,是因为Linux已经分配的客户端连接端口已经用尽,无法再建立新的socket连接。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [这个 TCP 问题你得懂:Cannot assign requested address](https://blog.csdn.net/zyx6a/article/details/120165697)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文