Thread View: borland.public.cppbuilder.internet.socket
3 messages
3 total messages
Started by Dave K.
Sat, 28 Jun 2008 17:53
Implementing UDP client using Indy
Author: Dave K.
Date: Sat, 28 Jun 2008 17:53
Date: Sat, 28 Jun 2008 17:53
21 lines
1662 bytes
1662 bytes
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
Re: Implementing UDP client using Indy
Author: 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.
Re: Implementing UDP client using Indy
Author: Remy Lebeau (TeamB)
Date: Mon, 30 Jun 2008 04:48
Date: Mon, 30 Jun 2008 04:48
12 lines
1194 bytes
1194 bytes
"Dave K." <dsk@nospam.com> wrote in message news:48667ab4$1@newsgroups.borland.com... > I am trying to implement using Indy components a simple utility > that will receive UDP data from a data transmission service. Use TIdUDPSever for that. Its OnUDPRead event will be fired when data arrives. Gambit
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads