BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TIdTCPClient

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Carlos Matos
Guest





PostPosted: Thu Mar 17, 2005 6:51 pm    Post subject: TIdTCPClient Reply with quote



On Indy 9 TIdTCPClient has a property that gives us the name (not IP) of the
client machine.

I can't find this property with in Indy 10. It has been removed or mooved?

Thanks,
Carlos


Back to top
DonS
Guest





PostPosted: Thu Mar 17, 2005 7:00 pm    Post subject: Re: TIdTCPClient Reply with quote




Quote:
On Indy 9 TIdTCPClient has a property that gives us the name (not IP) of the
client machine.

I can't find this property with in Indy 10. It has been removed or mooved?

TIdComponent.LocalName in Indy 9. Removed in Indy 10.

Just use the TComponent.Name property, or the GStack.HostName property if you need the local host name. Protocol clients that require an identity implement a Username property.

hth...

Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Thu Mar 17, 2005 8:01 pm    Post subject: Re: TIdTCPClient Reply with quote




"DonS" <mudshark (AT) rancidbud (DOT) com> wrote


Quote:
Just use the TComponent.Name property

That will not tell the machine's name.

Quote:
or the GStack.HostName property if you need the local host name.

That is the way to go.


Gambit



Back to top
Carlos Matos
Guest





PostPosted: Fri Mar 18, 2005 10:42 am    Post subject: Re: TIdTCPClient Reply with quote

Quote:
or the GStack.HostName property if you need the local host name.

That is the way to go.

Yes, that's it.
Thanks to both.

Carlos



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.