Home > Backend Development > PHP Tutorial > socket-PHP SOCKET如何释放所占用的端口

socket-PHP SOCKET如何释放所占用的端口

WBOY
Release: 2016-06-02 11:29:27
Original
1113 people have browsed it

socketphp

请问一下Linux上我用socket(在windows正常)但是每次都提醒占用端口 需要释放 所以我试了下在绑定前加上socket_set_option($socket, SOL_SOCKET, SO_REUSEADDR, 1)) 但是这样不但不行 而且客

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template