|
FORUMS PROFESSIONNELS WINDEV, WEBDEV et WINDEV Mobile |
| | | | | |
UDP Socket connection with a legacy system using WDMob |
Débuté par Robert MENEGON, 28 aoû. 2011 08:33 - Aucune réponse |
| |
| | | |
|
| |
Membre enregistré 1 message |
|
Posté le 28 août 2011 - 08:33 |
I have a legacy Windows CE system that exchanges data (a data structure) with a legacy system using the UDP protocol. I am trying to do the same using WinDev Mobile. It is a typical RequestRespose scenario. A request structure is populated, this is sent to the server and a response structure is returned. I have created the structure in WDM but ... Q1. SocketWrite requires the data to be of Buffer type ... is there an elegant way of converting a the structure to a buffer type? For the moment I am ignoring the structure and building the buffer using the [[]] syntax. Q2. SocketRead returns a character string ... how does one convert the string to a structure so that the elements can be examined?
thanks
Rob |
| |
| |
| | | |
|
| | | | |
| | |
| | |
| |
|
|
|