problem with reading from socket
the problem:
socket_is_readable and socket_change not notice input from the socket. Code:
#include <amxmodx> |
Re: problem with reading from socket
Are you trying to create a listening socket? Or you just sent a request to the server and expect some answer?
|
Re: problem with reading from socket
Quote:
|
Re: problem with reading from socket
some1 ?
|
Re: problem with reading from socket
I'm having a hard time understanding what you wrote in your first post.
Try getting someone to translate it for you because Google Translate is not doing you any favors. Also, don't double post. |
Re: problem with reading from socket
Quote:
amx connect to the server. amx listening with socket_change or socket_is_readable in task, but those functions not notice the input from the server, almost all the time. im not using translate... i edit the first message to one sentence |
Re: problem with reading from socket
solved:
1. timing the socket_change and socket_is_readable miss info from client, so needed to do task often. 2. reset the data array. 3. format the data because its very often, the server got lags, conclusion its not good ay do its task. just use write and wait for answer Code:
#include <amxmodx> |
| All times are GMT -4. The time now is 13:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.