hi...
i have a question a bout winsock.
i want to realize with visual basic 6 a client/server application.
now, i trying to send from client side to a server side and viceversa variables, vectors and array.
With variables, no problem. but i have problem to send a vector of 10 elements.
in server side i have created a command button to send vecotr:
private sub cmdSend_click()
for i = LBound(vetctor) to UBound(vector)
tcpServer.SendData vector(i)
next i
end sub
in client_side:
private sub tcpClient_DataArrival(ByVal bytesTotal As Long)
....
end sub
where tcpClient is the winsock control in Client Side.
i don't know which code i must put in .... to recieve a vector or an array.
Can someone help me?
i have a question a bout winsock.
i want to realize with visual basic 6 a client/server application.
now, i trying to send from client side to a server side and viceversa variables, vectors and array.
With variables, no problem. but i have problem to send a vector of 10 elements.
in server side i have created a command button to send vecotr:
private sub cmdSend_click()
for i = LBound(vetctor) to UBound(vector)
tcpServer.SendData vector(i)
next i
end sub
in client_side:
private sub tcpClient_DataArrival(ByVal bytesTotal As Long)
....
end sub
where tcpClient is the winsock control in Client Side.
i don't know which code i must put in .... to recieve a vector or an array.
Can someone help me?