 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jens Munk Guest
|
Posted: Thu Sep 18, 2003 9:56 am Post subject: Ports as different UDP components |
|
|
Hi,
I am havig problems with selecting an appropriate UDP component and the way
they handle ports. D6 seems to come with three different UDP components:
TNMUDP, TUdpSocket and the Indy stuff and common for the two latter seems to
be that the source port number for sending cannot be set and is changing
everytime the application is restarted. They might not themselves care about
the source port no., but the Linux embedded controller I am talking to is
very concerned and it doesn't work if the source IP is wrong. How do I set
that in these two components?
Also, which one of them would you recommend? TNMUDP comes without source
code, whereas the the other two do. Bugs? Performace?
Thanks in advance,
Jens.
|
|
| Back to top |
|
 |
Claire Guest
|
Posted: Thu Sep 18, 2003 10:13 am Post subject: Re: Ports as different UDP components |
|
|
"Jens Munk" <j.munk (AT) maccor (DOT) dk> wrote
| Quote: | Hi,
I am havig problems with selecting an appropriate UDP component and the
way
they handle ports. D6 seems to come with three different UDP components:
TNMUDP, TUdpSocket and the Indy stuff and common for the two latter seems
to
be that the source port number for sending cannot be set and is changing
everytime the application is restarted. They might not themselves care
about
the source port no., but the Linux embedded controller I am talking to is
very concerned and it doesn't work if the source IP is wrong. How do I set
that in these two components?
Also, which one of them would you recommend? TNMUDP comes without source
code, whereas the the other two do. Bugs? Performace?
Thanks in advance,
Jens.
|
Use the Indy UDP Server port, it can be used as both client and server
anyway and you can set the listening port to the one you want.
Stick with indy, it's well supported.
--
Claire Humphrey
Senior Software Engineer
Robinson Instruments Ltd.
|
|
| Back to top |
|
 |
Jens Munk Guest
|
Posted: Thu Sep 18, 2003 10:57 am Post subject: Re: Ports as different UDP components |
|
|
Thanks,
That was the kind of answer I would like to hear. With good support (like
this) and the source available you are on the safer side. The Indy UDP
server does essentially what I need and now I just need to get the other end
straightened out too.
Thanks again,
Jens.
| Quote: |
Use the Indy UDP Server port, it can be used as both client and server
anyway and you can set the listening port to the one you want.
Stick with indy, it's well supported.
--
Claire Humphrey
Senior Software Engineer
Robinson Instruments Ltd.
|
|
|
| Back to top |
|
 |
Francois Piette Guest
|
Posted: Thu Sep 18, 2003 11:36 am Post subject: Re: Ports as different UDP components |
|
|
| Quote: | I am havig problems with selecting an appropriate UDP component and the
way
they handle ports. D6 seems to come with three different UDP components:
TNMUDP, TUdpSocket and the Indy stuff and common for the two latter seems
to
be that the source port number for sending cannot be set and is changing
everytime the application is restarted. They might not themselves care
about
the source port no., but the Linux embedded controller I am talking to is
very concerned and it doesn't work if the source IP is wrong. How do I set
that in these two components?
Also, which one of them would you recommend? TNMUDP comes without source
code, whereas the the other two do. Bugs? Performace?
|
You have another solution: ICS. You can find ICS full source code on your
Delphi 6 companion CD, or better doanload latest version from
http://www.overbyte.be.
Using ICS, you can assign the localport at your wish.
If you need help with ICS, please use the support mailing list. Follow
"support" link at ICS website for details.
--
Contribute to the SSL Effort. Visit
http://overbyte.delphicenter.com/eng/ssl.html
--
[email]francois.piette (AT) overbyte (DOT) be[/email]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|