Article View: borland.public.cppbuilder.internet.socket
Article #166Re: Implementing UDP client using Indy
From: Tom420
Date: Sun, 29 Jun 2008 20:42
Date: Sun, 29 Jun 2008 20:42
28 lines
2222 bytes
2222 bytes
Dave K. wrote: > Hello, > > I am trying to implement using Indy components a simple utility that > will receive UDP data from a data transmission service. > > The transmission service simply sends UDP packets to a specific IP/port. > It does not listen for or expect any type of query or response. The > other end of the connection was not developed with Indy (not that that > should matter, I wouldn't think). > > I'm not having any luck getting it to work using Indy components. I have > no trouble making it work with Fastnet components but as I think Fastnet > is not included with more recent versions of Builder, and we intend to > upgrade in the not-too-distant future, I don't want to use Fastnet. > > I'm sure there is a simple solution to this, but can't figure out what > it is. Any help as to what component(s) and methods I should use would > be greatly appreciated. > > Dave Koens > Canada You did not provide very much information, but basically I would put a UDP Server component on the form, set it for the correct port, write some code in the listener, make it active, compile, run, and go jogging a while waiting for the sender to send the message.
Technical Details
Message-ID:
<4867f3c2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<48667ab4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,47d8d083b22f2cbb X-Google-Attributes: gid11508e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Sun, 29 Jun 2008 16:42:32 -0400 From: Tom420 <tom420@sherbrooke.qc.ca> Reply-To: nospam@antispam.com User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Implementing UDP client using Indy References: <48667ab4$1@newsgroups.borland.com> In-Reply-To: <48667ab4$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080629-0, 2008-06-29), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 66.131.11.65 Message-ID: <4867f3c2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1214772162 66.131.11.65 (29 Jun 2008 13:42:42 -0700) Lines: 28 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!news.isoc.lu!newsgroups.borland.com!not-for-mail