Re: HTTP:X
If I would include a module I want the whole thing to be a module instead.
But it's never too late. I will see what I can do with it when I get the time. |
Re: HTTP:X
It would be just a waste of time for you to code Multi threaded sockets again, + Httpx would be a specific module, and ThreadedSocks will get added into Amxmodx eventually, so since this is a new plugin, i recommend you to even support Threaded mode.
|
Re: HTTP:X
What will be added is not interesting. 1.8.3 is not really being released anytime soon. You also have to concider the adaptation. To support all servers I'm aiming for 1.8.2 compatibility. That is still the last "stable" release.
But I've already said I will take a look at it. |
Re: HTTP:X
lmao xDD
|
Re: HTTP:X
Quote:
I use 1B when getting the header and scanning for chunk sizes. Other than that I use 64KB. If you want threaded sockets to be included, you have to change this. |
Re: HTTP:X
socket_recv_t( const iThreadHandle, const CallBackHandler[], const iRecvDataLen ); ? iRecvDataLen ?
How could you achieve "dynamically changing size" with default sockets ? Could you give me an example to understand your problem better and if possible references in your code ? I guess its better to discuss this issue in Module's thread ? |
Re: HTTP:X
i want to download a file for specific player is there is a way to have played index added to complete handler for now i m looping through all players to find the related player file:
PHP Code:
|
Re: HTTP:X
Looping through indexes in this way is really no problem at all. I guarantee you that you will never notice a difference.
However I do like the idea of passing and retrieving custom data and I will add this as a feature unless problems arise. The question becomes "how much". Infinite would be nice but that will require dynamic arrays or tries. A good option could be to enable an integer to be passed where you could supply an array index if you wanted to which would require some more work from the user but will create more freedom without all the back-end. I will take a look at this ASAP. Thank you for your suggestion. |
Re: HTTP:X
If you don't mind making 1.8.3 a requirement, you could use DataPacks, they were made exactly for that.
|
Re: HTTP:X
I do mind. I'm not developing for unofficial releases. Especially if it doesn't update automatically.
|
All times are GMT -4. The time now is 02:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.