🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2277

Re: Using Indy and multiple Network Adaptor

#2277
From: Remy Lebeau (TeamB)
Date: Thu, 01 Jun 2006 02:55
24 lines
1768 bytes
"Azrin Aris" <azrin_aris@yahoo.com> wrote in message
news:447e45de$1@newsgroups.borland.com...

> I'm using BCB6 and Indy that comes with it.

BCB 6 ships with Indy 8, which is a very old version that is no longer
supported.  You should consider upgrading to the latest Indy 9 development
snapshot.

> I have two network cards and I want to run two instances of my
> application but each will use different network card. The problem
> is how can I bind IdICmpClient to different NIC?

I do not know if Indy 8 supports what you are asking.  In Indy 9, you would
have to set the TIdIcmpClient.Binding.IP property to the desired adapter
address and then call TIdIcmpClient.Binding.Bind().  The UDP and RAW client
components do not directly support per-adapter bindings like the TCP clients
do, so you have to do it manually.


Gambit

P.S. your PC's clock is almost 3 months behind.
Technical Details
Message-ID: <447e57d8$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <447e45de$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ff0d4c9d3dd30212,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <447e45de$1@newsgroups.borland.com>
Subject: Re: Using Indy and multiple Network Adaptor
Date: Wed, 31 May 2006 19:55:21 -0700
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <447e57d8$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1149130712 68.69.17.41 (31 May 2006 19:58:32 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail