Skip to content
Advertisement

Tag: websocket

TCP echo server doesn’t accept client

I’m trying to make an echo client server in C. The problem is, when I start the server and run the client code, in client shell it says “Connected” but in server shell it still says “Waiting for connection”. (Server doesn’t say “accept failed”. It says “Waiting for connection” forever). I think server is not accepting client and therefore if

Bash script to check a specific php process is running?

I am running websocket server with the nohup command like below. But it stop working after few hours.So i have created a bash script like below Then i run the script with below command like below. The work of the above script if to check my chat-server.php is running or not if it is not running then it will start

Advertisement