[Solved]Need help figuring out Android vs Pub mods

BlitzMax Forums/Brucey's Modules/[Solved]Need help figuring out Android vs Pub mods

RustyKristi(Posted 2016) [#1]
I did a quick simple test on BRL.Socketstream and I was a bit surprised that it did work on Android.

What I was puzzled about is why this mod (Redis) that only uses BRL.Socketstream does not work, blank screen for a few minutes and then fails to connect. I had a server running at the other end and tested on NG Win32 btw.

I thought there are other module functions inside that module that is included somehow not compatible with SDL/Android setup.

https://github.com/Ibmurai/redis.mod/blob/master/redis.bmx


Brucey(Posted 2016) [#2]
I don't see anything obviously wrong with that redis module.

But for some comments... ;-)

* it's in Pub... rather than its own namespace.
* It creates *lots* of arrays. Which seems a reasonably inefficient way of going about things.

:-p


RustyKristi(Posted 2016) [#3]
Thanks Brucey. It turns out it is a port problem using mobile devices. I tried a better server setup and it works ok now! :)


* it's in Pub... rather than its own namespace.
* It creates *lots* of arrays. Which seems a reasonably inefficient way of going about things.


figured the Pub thing early on and yes I think it seems to be a bit outdated but it just basically works.