I am working on a free PHP socket testing playground. I am trying to send and receive a close control frame.
My front-end code looks like this:
$socket