🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2028

Re: TClientSocket::LocalAddress

#2028
From: Remy Lebeau (TeamB)
Date: Fri, 11 May 2007 16:54
35 lines
2195 bytes
"Robert G. Hoover" <not.a.real.address@anywhere.sorry> wrote in
message news:46445305$1@newsgroups.borland.com...

> I am getting a partial response from someone, whom I must assume
> is the company SMTP server (not on my computer).

Do not make assumptions.  You need to find out exactly what you are
really connecting to.

> I get the standard communication stuff. "250 Ok." So I must be
talking
> to the right computer with the right protocol.

Not necessarily.  A lot of internet protocols use similar response
syntaxes.  You shouls use a packet sniffer, such as Ethereal, to see
the raw packet data.  Only then can you really verify what you are
actually connected to.

> Yet, my Socket->LocalAddress = 127.0.0.1.

As I told you earlier, that can only occur if you are connected to a
server on the local machine only.  If you were really connected to an
external server on the network, the LocalAddress would not be
reporting the local loopback address.

> I've got a few other programs running.... Skype, VNC Server, AVAST
> AntiVirus. I'm going to knock them down 1 by 1 to see which one
> might be causing the communication breakdown.

It might be useful if you could show your actual TClientSocket code
here.  You are probably just setting it up wrong.


Gambit
Technical Details
Message-ID: <46449fba$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46434854$1@newsgroups.borland.com> <46435e8d$1@newsgroups.borland.com> <46445305$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a04762d1675e9ed3
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <46434854$1@newsgroups.borland.com> <46435e8d$1@newsgroups.borland.com> <46445305$1@newsgroups.borland.com>
Subject: Re: TClientSocket::LocalAddress
Date: Fri, 11 May 2007 09:54:04 -0700
Lines: 37
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: 75.82.60.244
Message-ID: <46449fba$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1178902458 75.82.60.244 (11 May 2007 09:54:18 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail