PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
UDP Socket connection with a legacy system using WDMob
UDP Socket connection with a legacy system using WDMob
Started by Robert MENEGON, Aug., 28 2011 8:33 AM - No answer
Connect yourself…
Robert MENEGON
#1
Registered member
1 message
Posted on August, 28 2011 - 8:33 AM
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
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text