S
samen
Unregistered / Unconfirmed
GUEST, unregistred user!
server:
send:array[1..10] of string;
send[1]:='sss';
send[2]:='ss':
...
serversocket1.socket.connections[0].sendbuf(pointer(send[1])^,10);
client:
rece:arrary[1..10] of string;
setlength(rece[1],10)
clientsocket1.socket.receivebuf(pointer(rece[1])^,10);
实现了数组元素的发送和接收,如何实现整个数组一起发送和接收??就是把数组send里
的所有元素一起发送和接收。
send:array[1..10] of string;
send[1]:='sss';
send[2]:='ss':
...
serversocket1.socket.connections[0].sendbuf(pointer(send[1])^,10);
client:
rece:arrary[1..10] of string;
setlength(rece[1],10)
clientsocket1.socket.receivebuf(pointer(rece[1])^,10);
实现了数组元素的发送和接收,如何实现整个数组一起发送和接收??就是把数组send里
的所有元素一起发送和接收。