Home > Backend Development > PHP Tutorial > php socket problem

php socket problem

WBOY
Release: 2023-03-02 14:00:01
Original
959 people have browsed it

How to judge whether the server has sent data back? If the connection to the server is successful, but there is no send data back in the server-side code (that is, the send function is blocked and does not return data), how should the client judge? Not counting the situation that is judged directly by comparing the returned data or the read data is empty!

Reply content:

How to judge whether the server has sent data back? If the connection to the server is successful, but there is no send data back in the server-side code (that is, the send function is blocked and does not return data), how should the client judge? Not counting the situation that is judged directly by comparing the returned data or the read data is empty!

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