Hi everyone, I would like to send an array of data from my client which is to be written in Java to a server written in vb6.

For example in vb6, to send an array of data to the receiving end, this is what I would do:

Java Code:
Dim arrMsg(0 to 4) as byte
Dim testData1 as Long
Dim testData2 as Long

testData1 = 100000
testData2 = 200000

Call RtlMoveMemory(arrMsg(0), testData1, 4)
Call RtlMoveMemory(arrMsg(4), testData2, 4)

socket.SendData (arrMsg)
Any help will be appreciated. Thanks.