Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Apr : UDP using Indy

www.cryer.info
Managed Newsgroup Archive

UDP using Indy

Subject:UDP using Indy
Posted by:"Jeff" (jlabu..@signalink.com)
Date:Tue, 1 Apr 2008 15:01:04

Hi Everyone :-)

I need some sample code on how to use the udpclient and udpserver
components. I'd like to be able to send small packets via udp to a server
like app from several client apps, and have the server reply individually to
all the client apps... all of which are running on 1 PC over localhost. I
have Delphi 2007 and Indy 10.1.5. If I put a udpclient and udpserver
component in to 1 client app an error says could not bind socket. I am not
even sure how UDP is supposed to work really with indy.... any direction
would be great :-) I couldn't find any appropriate samples online.

thanks!

Jeff

Replies:

www.cryer.info
Managed Newsgroup Archive