Open jankube opened 8 years ago
Hello, sorry I cant remember this project in particular, It was some time ago and not a usefull one. It should probably somehow point to https://github.com/EduardoOliveira/CodeIgniterWebSockets/blob/master/application/controllers/WebSocketServer.php
I've made some research into websockets, and been using them in several projects. I personally think PHP is definitely not the language to make a ws server. Tho I've heard some good things about http://socketo.me/
So far i've been very happy using http://www.eclipse.org/jetty/documentation/9.4.x/jetty-websocket-server-api.html or http://vertx.io/blog/real-time-bidding-with-websockets-and-vert-x/
Let me know if I can help you with anything else. Best regards from Lisboa
Hi Eduardo, there is a file "/demo/server.php" linked for "var wsUri" in "welcome_message.php" which is not part of the repository. What needs to be added to this application to make it work?
Thanks and Greetings from Porto, Jan
<script language="javascript" type="text/javascript"> $(document).ready(function(){ //create a new WebSocket object. var wsUri = "ws://<?php echo $this->config->item('host');?>:8081/demo/server.php"; websocket = new WebSocket(wsUri);