phpsocket.io icon indicating copy to clipboard operation
phpsocket.io copied to clipboard

socket not responding after sometime in aws hosting server

Open Rohitbhut opened this issue 6 years ago • 1 comments

i am use mobile side socket api and user for this code but run php start.php in terminal 20 hour working proper but after socket get error for add-user method blow all code send to you so any one solution so please replay me socketchat.zip

Rohitbhut avatar Mar 17 '19 05:03 Rohitbhut

Take the globals out and put them before the socket connection, change the add-user function by removing the use($socket) Like so '$socket->on('add user', function ($auth_key, $ack) { }'

On Sun., 17 Mar. 2019, 07:12 Rohitbhut, [email protected] wrote:

i am use mobile side socket api and user for this code but run php start.php in terminal 20 hour working proper but after socket get error for add-user method blow all code send to you so any one solution so please replay me socketchat.zip https://github.com/walkor/phpsocket.io/files/2974827/socketchat.zip

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/walkor/phpsocket.io/issues/186, or mute the thread https://github.com/notifications/unsubscribe-auth/ATfQSROoRwckC-THruq7BDx9lnHSsuMPks5vXc7agaJpZM4b4L4j .

devyaz avatar Mar 17 '19 07:03 devyaz