How to reject duplicate PHP socket connection from the same client?
I want to reject duplicate socket connection when the same connected client try to connect again. The below code I tried to store gamerId into an array then later check the array if new gamerId already exist or not. But…