🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Socket problem setting port and connecting.

#3778
From: Hans Galema
Date: Wed, 27 Apr 2005 15:29
15 lines
1587 bytes
Bob Gonder wrote:
> Egi2kaZz wrote:
> 
>>void __fastcall TForm1::FormCreate(TObject *Sender)
>>{
>>ClientSocket1->Host = "192.168.0.1";
>>ClientSocket1->Address = "192.168.0.22";
>>ClientSocket1->Active = true;
>>}

Do not use both Host and Address. Use only one.

And you can connect to one ip-address only.

Hans.
Technical Details
Message-ID: <426fb06c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <42638bd3$1@newsgroups.borland.com> <4263a52c@newsgroups.borland.com> <426abd97@newsgroups.borland.com> <426bf467$1@newsgroups.borland.com> <426e472d$1@newsgroups.borland.com> <426e737e$1@newsgroups.borland.com> <426e9298@newsgroups.borland.com> <426eaf63@newsgroups.borland.com> <426f51a5@newsgroups.borland.com> <277v611esvpat0horu0mqf5ir1hvp1bbep@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,87ef1514521c3f8d
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 27 Apr 2005 17:29:16 +0200
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.internet.socket
Subject: Re: Socket problem setting port and connecting.
References: <42638bd3$1@newsgroups.borland.com> <4263a52c@newsgroups.borland.com> <426abd97@newsgroups.borland.com> <426bf467$1@newsgroups.borland.com> <426e472d$1@newsgroups.borland.com> <426e737e$1@newsgroups.borland.com> <426e9298@newsgroups.borland.com> <426eaf63@newsgroups.borland.com> <426f51a5@newsgroups.borland.com> <277v611esvpat0horu0mqf5ir1hvp1bbep@4ax.com>
In-Reply-To: <277v611esvpat0horu0mqf5ir1hvp1bbep@4ax.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <426fb06c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114615916 129.125.201.248 (27 Apr 2005 08:31:56 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail