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
Tag: websocket
Output a linux command to a url/port or scocket instead of writing it to a file
I have a command which out outputs certain data which i store in a ext file using a ‘>>’ command.Now Instead of doing that I want to have a socket or a port on any server which will catch the output of the command.Basically i want to output all my script data to a socket or url which ever is
Stunnel secure wss websocket to unsecure ws socket
I recently changed my site to use SSL. What I have is an old websocket server script listening on port 9300 which is then called by the client’s browser using javascript through ws. Now that my site has changed to https I have to call a wss but it’s not working. So I just want to redirect a secure wss
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