Hi
I am working in VB6 with a operators interface in an industrial application. My problem now is that some of the production data has to be sent to a external system and the supplier is expecting this information to be sent over Ethernet using TCP/IP.
My intention is to use WinSock and so far there has been no problem for me to understand how to send text strings. However do the other system expect my data to be recieved according to the following protocol.
3 float numbers (8 bytes each)
2 text strings (10 chracters long)
My questions are:
1) How do I convert float numbers to bytes!? (Copymemory??):
2) How do I pack the data I will Send (altogetehr 34 bytes)) Byte array? String??
BR
qsterno
Start Free Trial