🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: IP address

#7603
From: Hans Galema
Date: Fri, 14 Jan 2005 11:41
14 lines
1635 bytes
imams wrote:

 > That's why I need to know the IP of the computer that runs the apllication, and then make an verification wether the computer is allowed to connect with the MySQl server or not.

Does that application do that check itself? Because then it should first
connect to the mysql server. Get the allowed IP's and compare wit its own IP.
If not allowed disconnect itself.

The application knows its IP at the moment it connected with the server.
The IP can be obtained from the socket. Or do you use a component?

Please wrap lines manually.

Hans.
Technical Details
Message-ID: <41e7b03b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41e7177c$1@newsgroups.borland.com> <41e71d69$1@newsgroups.borland.com> <41e72a45$1@newsgroups.borland.com> <41e78327$1@newsgroups.borland.com> <41e7a93d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bd82eef6c9c16f3a
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 14 Jan 2005 12:41:57 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: IP address
References: <41e7177c$1@newsgroups.borland.com> <41e71d69$1@newsgroups.borland.com> <41e72a45$1@newsgroups.borland.com> <41e78327$1@newsgroups.borland.com> <41e7a93d$1@newsgroups.borland.com>
In-Reply-To: <41e7a93d$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <41e7b03b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105702971 129.125.201.248 (14 Jan 2005 03:42:51 -0800)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail