Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

socket_recv error #71

Open
kcviper opened this issue Jul 26, 2017 · 1 comment
Open

socket_recv error #71

kcviper opened this issue Jul 26, 2017 · 1 comment

Comments

@kcviper
Copy link

kcviper commented Jul 26, 2017

Warning: socket_recv() expects parameter 4 to be long, string given in sockettransport.class.php on line 327

@StefansArya
Copy link

StefansArya commented Aug 5, 2018

I think it's a bug on the PHP itself
Based on documentation

you can change MSG_DONTWAIT to 8
if still error then 4, or maybe 2.

Or define the constant on top of your php script
if(!defined('MSG_DONTWAIT')) define('MSG_DONTWAIT', 0x40);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants