FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WM20] SocketConnect acts strange on Android ?
[WM20] SocketConnect acts strange on Android ?
Débuté par Danny Lauwers, 02 juil. 2015 23:49 - Aucune réponse
Connectez-vous…
Danny Lauwers
#1
Posté le 02 juillet 2015 - 23:49
Hi,
I have some communications between a server and a WinDev Mobile 20 Android application via TCP (Socketxxxx functions). When the wifi is connected and server is running then the SocketConnect("MySocket,Myport,5000) will not generate an error and the SocketWrite also runs correctly.
But when the Wifi is down (no connection to the server), then the SocketConnect also seems to return a true (successful connection) instead of returning an error ?? Also the ErrorOccurred flag is not set and no Exception is thrown !
It is the first SocketWrite that would generate an error.
This lets my connection status go on/off/on/off...
In the simulator, all runs as expected including the error for the SocketConnect !!
Does anybody had the same effect with SocketConnect ?
Thanks
Danny
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte