After the swoole client sends, how to ensure that after the server sends the data, the client receives it completely and closes it?

WBOY
Release: 2016-08-18 09:15:47
Original
1184 people have browsed it

Source of the question: http://wiki.swoole.com/wiki/p...

According to official instructions, you cannot close immediately after sending; under what circumstances can you close? And ensure that the data sent by the server is received by the client and then closed? ?

Reply content:

Source of the question: http://wiki.swoole.com/wiki/p...

According to official instructions, you cannot close immediately after sending; under what circumstances can you close? And ensure that the data sent by the server is received by the client and then closed? ?

Why does the server need to be closed after sending data?

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!