I'm having problem trying to receive Hex data via Ethernet in Visual Basic 6. I can use GetData in DataArrival event to receive text, eg WSock.GetData dataBuf, vbString. But I just don't
know how to receive hex data. eg if a device my PC connected to sends 0202020200000002434506, I can only get the first byte of the hex data string- 02.
How do I receive all the hex data? Please help.
know how to receive hex data. eg if a device my PC connected to sends 0202020200000002434506, I can only get the first byte of the hex data string- 02.
How do I receive all the hex data? Please help.