🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to make a TClientSocket to search a TServerSocket???

#5271
From: Hans Galema
Date: Tue, 28 Sep 2004 12:57
21 lines
1757 bytes
Byanex wrote:

> I'm here one more time, now i would to know how make my Client search the server at one especifc IP. Without a "Windows Error Message".
> e.g.: At my PC i need to run the server before a client try to open conection, if the client try to open the conection without the server is running then i have a "Windows message error".

Please wrap lines.

> I was tryed "try catch" function but not help!!!

Then show your code. Specify the exact errormessage you got.

Read this how to handle error messages:

Subject: ESocketError
Newsgroups: borland.public.cppbuilder.internet.socket
Message-ID: <414b8772$1@newsgroups.borland.com>
Date: 17 Sep 2004 17:55:14 -0700

Is your client on the same machine as the server ?

Hans.
Technical Details
Message-ID: <41595eed$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41595ce4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,bd4b4d9b4b503463
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 28 Sep 2004 14:57:27 +0200
From: Hans Galema <dontusethis@dontusethis.nl>
User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: How to make a TClientSocket to search a TServerSocket???
References: <41595ce4$1@newsgroups.borland.com>
In-Reply-To: <41595ce4$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <41595eed$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096376045 129.125.201.248 (28 Sep 2004 05:54:05 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail