(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)
socket_close — Closes a Socket instance
$socket
socket_close() closes the Socket instance given by socket.
socket
A Socket instance created with socket_create() or socket_accept().
No value is returned.