Giter Site home page Giter Site logo

chat-using-websocket-and-php-socket's Introduction

chat-using-websocket-and-php-socket's People

Contributors

mlukac89 avatar rishi1111 avatar sanwebe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chat-using-websocket-and-php-socket's Issues

Unclear Script name used shout.php

Please clarify the usage of

shout.php on line 147 of server.php

ws://$host:$port/demo/shout.php

Specify where and how to use the same.

NOT WORKING WITH SSL

I am trying to connect PHP web socket using WSS.

it shows error as below
WebSocket connection to 'wss://php.fmv.cc:12345/' failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR

server configuration as below
image
image

these are the links on which I am trying
http://php.fmv.cc/c2.php (ws)

https://php.fmv.cc/c3.php (wss)

this will try to connect socket at : ws://php.fmv.cc:12345/ and wss://php.fmv.cc:12345/

Not working

Show error
Error Occurred - undefined
Connection Closed
i change the port to 80 that is the port of my localhost and change
var wsUri = "ws://localhost:9000/demo/server.php";
this to
var wsUri = "ws://localhost:80/check/Chat-Using-WebSocket-and-PHP-Socket/server.php";
not working at all
screenshot 245

How out php without stop the server

hi, in the command prompte to start the server i made
php -q c:\path\server.php

but if I want to get out of the command prompt without shutting down the server, what should I do?

Thank you ?

Chat adding null values

Hello, i installed this chat on my localhost, i changed some code to make it works, and i'm getting null values he adding it alone all time but no error in console or anything. This was too before i changed code.

Here is a image : http://prntscr.com/jp1jk6

php client not receive more than 69 charecter

hi
i write a client with php for your sever but where charecter is more than 69 data not receive corectly
i receive with this

while($out = socket_read($socket, 8192)) {

and try this

while(socket_recv($socket, $out, 8192, 0) >= 1) {

but not work

Maybe an error in server.php

Should't
socket_close($sock);
be
socket_close($socket);
?
Sometimes I get many CLOSE_WAIT connections. Maybe this is the cause?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.