ICS component suite does this - check out the SvrDemo & CliDemo using TCP/IP
or the Midware example.
http://www.rtfm.be/fpiette/indexuk.htm
On my never ending list of things to do is do try and develop a generic
wrapper around some of the ICS stuff to help me write distributed apps.
BTW - useless you have a good reason to use UDP, I would use TCP which gives
you automatic low-level error handling.
> -----Original Message-----
> From: Donovan J. Edye [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 2 February 2000 11:04
> To: Multiple recipients of list delphi
> Subject: [DUG]: TCP / UDP Components with a difference.....
>
>
> G'Day All,
>
> I was wondering if someone had come across a freeware library
> or component
> set that would allow you to send a "message" over TCP / UDP
> where you could
> specify types etc. and have the component / library encode
> the information
> for transmission and decode for receiving.
>
> Eg.
>
> procedure SomeComponent.SendMyMessage(Name : TName; SName :
> TSName; Age :
> TAge);
>
>
> In code
>
> SomeComponent.SendMyMessage('Donovan', 'Edye', 10);
>
> Component handles encoding of the packet payload and then
> sends it via TCP /
> UDP
>
> Another component decodes and receives the message.....
>
> --------------------------------------------------------------
> ----------
> --Donovan
> Donovan J. Edye [www.edye.wattle.id.au]
> Namadgi Systems, Delphi Developer
> Web: www.namsys.com.au E-Mail: [EMAIL PROTECTED]
> Voice: +61 2 6285-3460 Fax: +61 2 6285-3459
> TVisualBasic = Class(None);
> --------------------------------------------------------------
> ----------
>
> --------------------------------------------------------------
> -------------
> New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz