You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.
EDİT ; the $bytes going to null array all time and i get it all time .. I guess it's endless loop
The text was updated successfully, but these errors were encountered:
MuhammedAlmaz
changed the title
C:\xampp\htdocs\SocketClientExample\src\Engine\AbstractSocketIO.php on line 123
Engine\AbstractSocketIO.php on line 123
Feb 7, 2017
The kind of change this PR does introduce
- [x] a bug fix
- [ ] a new feature
- [x] an update to the documentation
- [x] a code change that improves performance
- [ ] other
Current behavior
Client->read() is hanging the script until data is received.
New behavior
Client->read() will return empty string if no data is received.
Other information (e.g. related issues)
This answers Wisembly#73, Wisembly#149, Wisembly#137 and perhaps Wisembly#60
In this code block i get error.
$bytes = unpack('C*', $data);
the bytes is null array.I am going to print_r $bytes and i see it is a null array . Sometimes this result is null . Why i get null ? What is the my mistake ?
I use this example;
https://github.com/Wisembly/elephant.io/tree/master/example/socket.io/1.x/receiver
EDİT ; the $bytes going to null array all time and i get it all time .. I guess it's endless loop
The text was updated successfully, but these errors were encountered: