Sockets | server hangs
Please tell me why the server hangs when sending a message?
PHP Code:
|
Re: Sockets | server hangs
2 things I can see that might be the cause is using the single-quotes around the second %s and MESSAGE not being HTML safe. Another cause may be on the receiving end, check to see if the connection even opens
Also, use charsmax instead of sizeof for strings |
Re: Sockets | server hangs
PHP Code:
|
Re: Sockets | server hangs
you only have listened one thing he said ._.
|
Re: Sockets | server hangs
sorry, did not understand
|
Re: Sockets | server hangs
Code:
sizeof(pack)Code:
charsmax(pack)Also, have you tested your new code? Have you looked at the receiving end to see if it is even getting the request? |
Re: Sockets | server hangs
message comes up to me
|
Re: Sockets | server hangs
Okay, so then is your issue resolved?
|
Re: Sockets | server hangs
Yes, thank you very much
|
Re: Sockets | server hangs
PHP Code:
|
| All times are GMT -4. The time now is 15:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.