Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - msx

#31
@spacefractal Did you finally solve the problem with multitasking?
#32
Hello, I link an article where you explain how to virtualize Sierra with VMware. I have done it this way and it works perfectly. So I got rid of buying another Macbook (mine was from 2008). I hope it works for you in the future.

https://techsviewer.com/install-macos-sierra-vmware-windows/
#33
Gracias Alex. Lo mismo digo.


Enviado desde mi iPhone utilizando Tapatalk
#34
Could anyone confirm it ?. It's important to me.  :whistle:
#35
My app uses sockets and works perfectly on Android and Windows, however it does not connect on iOs. A simple function like the following...

Code (glbasic) Select

FUNCTION CompruebaINET:
// Comprobamos conexión, 1=Si
LOCAL bInternet=0, sock%
        SOCK_INIT()
        sock% = SOCK_TCPCONNECT("www.google.com", 80)
        IF sock%>=0 THEN bInternet=TRUE // check return value. Is it 0 or -1 on error?
        SOCK_CLOSE(sock%)
        SOCK_SHUTDOWN
        RETURN bInternet
ENDFUNCTION


... always responds 0.

Could it be a BUG?.
#36
Quote from: spacefractal on 2017-Jan-10
please in English, thanks.

There is nothing im can do can testing in this case, because im does nothing know how sockets really works. Also somewhere in the future, Apple might even block it, its not sent via https. But the deadlead, which was last two week, got delayed with no new date. So im guess, very few apps really do that.

That understand, because not all kind of apps would require https at all.

Apologise me too.

I'm sorry you can not help me. I hope Gernot knows more about it and can solve it.



#37
Quote from: mentalthink on 2017-Jan-10
Pérdona que me meta en el hilo MSX (es que ando con esto de los sockets con un NodeMCU controlando un servo por WIFI), el asunto es que tengo que enviar muchos valores... Tengo que abrir y cerrar el socket cada vez que envío un valor?¿, o puedo dejar el socket abierto y cerrarlo después de haber enviado lo que me interese... No se si me explico.

El asunto me funciona, aunque tarda unos segundos en responder el servo (Supongo que puede ser que la señal va al router y vuelve al MCU, o que estoy haciendo algo mal).

Saludos.

No hace falta. Una vez que te asigna un socket con el comando SOCK_TCPCONNECT ya usas siempre el mismo, no hace falta cerrarlo, de hecho puedes abrir más y cada uno tendrá un Socket diferente. Ese valor es el que vas a usar en los sucesivos SOCK_TCPSEND. Si no esperas respuesta del NodeMCU tan solo necesitará este último comando, de lo contrario por cada envio tendrás que recibir respuesta por SOCK_RECV.
#38
My app uses sockets and works perfectly on Android and Windows, however it does not connect on iOs. A simple function like the following...

Code (glbasic) Select
FUNCTION CompruebaINET:
// Comprobamos conexión, 1=Si
LOCAL bInternet=0, sock%
SOCK_INIT()
sock% = SOCK_TCPCONNECT("www.google.com", 80)
IF sock%>=0 THEN bInternet=TRUE // check return value. Is it 0 or -1 on error?
SOCK_CLOSE(sock%)
SOCK_SHUTDOWN
RETURN bInternet
ENDFUNCTION


... always responds 0.

Socket not yet implemented in iOS?.
#39
All perfect!  :nw:
#40
Ok. Could be that. I'll try.

Thanks


Enviado desde mi iPhone utilizando Tapatalk
#41
Impossible, I do not know what I can do. Could someone please help me with this?


These are the errors now:

Code (glbasic) Select

Showing Recent Messages
  "__GLBASIC__::SHOWSCREEN()", referenced from:


      __GLBASIC__::__MainGameSub_() in gpc_temp0.o


  "__GLBASIC__::__DG_DEBUG", referenced from:


      ___GLB_Defaults in gpc_temp0.o


  "__GLBASIC__::__glb_AppName()", referenced from:


      ___GLB_Defaults in gpc_temp0.o


  "__GLBASIC__::__DG_FRAMERATE", referenced from:


      ___GLB_Defaults in gpc_temp0.o


  "__GLBASIC__::__DG_SCHOOLVER", referenced from:


      ___GLB_Defaults in gpc_temp0.o


  "__GLBASIC__::__DG_WANTMOUSE", referenced from:


      ___GLB_Defaults in gpc_temp0.o


  "__GLBASIC__::__DG_FULLSCREEN", referenced from:


      ___GLB_Defaults in gpc_temp0.o


  "__GLBASIC__::__DG_MULTISAMPLE", referenced from:


      ___GLB_Defaults in gpc_temp0.o


  "__GLBASIC__::DGStr::clear()", referenced from:


      __GLBASIC__::DGStr::~DGStr() in gpc_tempg.o


      __GLBASIC__::DGStr::~DGStr() in gpc_temp0.o


  "__GLBASIC__::DGStr::DGStr(__GLBASIC__::CGStr)", referenced from:


      __GLBASIC__::__BuildSerial() in gpc_tempg.o


      __GLBASIC__::__GetPrpjectVersionGLB() in gpc_tempg.o


      __GLBASIC__::__MainGameSub_() in gpc_temp0.o


  "__GLBASIC__::DGStr::DGStr(char const*)", referenced from:


      __GLBASIC__::__CompileTime() in gpc_tempg.o


      __GLBASIC__::DGStr::operator=(char const*) in gpc_temp0.o


  "__GLBASIC__::PRINT(__GLBASIC__::DGStr const&, float, float, int)", referenced from:


      __GLBASIC__::__MainGameSub_() in gpc_temp0.o


  "__GLBASIC__::__DG_RESX", referenced from:


      ___GLB_Defaults in gpc_temp0.o


  "__GLBASIC__::__DG_RESY", referenced from:


      ___GLB_Defaults in gpc_temp0.o


  "__GLBASIC__::operator+(__GLBASIC__::DGStr const&, __GLBASIC__::CGStr)", referenced from:


      __GLBASIC__::__CompileTime() in gpc_tempg.o


  "__GLBASIC__::operator+(__GLBASIC__::DGStr const&, __GLBASIC__::DGStr const&)", referenced from:


      __GLBASIC__::__CompileTime() in gpc_tempg.o


  "___EndProgram", referenced from:


      -[EAGLView drawView] in iphoneeaglview.o


  "___glb_set_cmd_line", referenced from:


      -[AppController application:handleOpenURL:] in iphoneappcontroller.o


      -[AppController application:didFinishLaunchingWithOptions:] in iphoneappcontroller.o


  "_glb_allow_escape", referenced from:


      -[AppController applicationDidEnterBackground:] in iphoneappcontroller.o


  "_glbasic_get_screen_size", referenced from:


      -[EAGLView createFramebuffer] in iphoneeaglview.o


  "_glbasic_notify_screen_change", referenced from:


      -[EAGLView createFramebuffer] in iphoneeaglview.o


  "_iPhoneMain", referenced from:


      -[EAGLView drawView] in iphoneeaglview.o


ld: symbol(s) not found for architecture x86_64


clang: error: linker command failed with exit code 1 (use -v to see invocation)





#42
Are we still unable to compile on iOS?
#43
Can I help you doing tests?


Enviado desde mi iPhone utilizando Tapatalk
#44
I appreciate your effort.
#45
Let's hope Gernot answers you soon.