Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Nov : no overloaded version of sendbuffer
| Subject: | no overloaded version of sendbuffer |
| Posted by: | "Pierre Lemerle" (plspam@free.fr) |
| Date: | Sat, 17 Nov 2007 15:18:40 |
I'dd like to send a packed record with TIUDPserver app
In a previous version of Indy I used :
type
TObjectState = packed record
Scene: String[8];
Name: String[8];
Position: TVector3f;
orientation: TPackedRotationMatrix;
var
my_record:TObjectState ;
udpclient.sendbuffer(my_record);
on the clinet's side and
udpserver.ReceiveBuffer(my_record);
on the server 's side
Now with indy10 the commands are no longer valid : "no overloaded version of
sendbuffer" is the error message.
please what is the right way to send and read a packed record wtih UDP ?