<?php Swoole\WebSocket\Server->exist (int $fd)
The fd of the WebSocket connection, it can be get from the frame.
if success, it returns TRUE, otherwise it returns FALSE.
Check if the TCP connection is established and existed.
TCP
Join 1,000+ others and never miss out on new tips, tutorials, and more.