🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: initialising a ClientSocket

#5017
From: duncan
Date: Mon, 15 Nov 2004 14:28
22 lines
1808 bytes
Hi Mark,

>It sounds like you are not able to connect client to server. 

I tried your app typing in the local ip "10.98.88.34", and port as "7017". and I got the message !! "

A connection attempt failed because the connected party did not
 properly respond after a period of time, or established 
connection failed because connected host has failed to respond."

The thing is I can actually connect the client to the server if my client initialise code is called from the main app's 
constructor as previously mentioned.

However when the code is moved so that the client is initialisd 
later, it does not connect; that is, the server_connect event is called but the client connect event is not?

Any further suggestions? 

Thanks,

Duncan
Technical Details
Message-ID: <4198cb39$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41938125$1@newsgroups.borland.com> <4193a0bb@newsgroups.borland.com> <41989b78$1@newsgroups.borland.com> <4198a148$1@newsgroups.borland.com> <4198aed9$1@newsgroups.borland.com> <4198b1a6$1@newsgroups.borland.com> <4198be15@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f81efd77741cef0b
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "duncan" <nospam@nospan.com>
Sender: "duncan" <nospam@nospan.com>
Reply-To: "duncan" <nospam@nospan.com>
Subject: Re: initialising a ClientSocket
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 194.129.249.241     
References: <41938125$1@newsgroups.borland.com> <4193a0bb@newsgroups.borland.com> <41989b78$1@newsgroups.borland.com> <4198a148$1@newsgroups.borland.com> <4198aed9$1@newsgroups.borland.com> <4198b1a6$1@newsgroups.borland.com> <4198be15@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4198cb39$1@newsgroups.borland.com>
Date: 15 Nov 2004 07:28:57 -0700
X-Trace: newsgroups.borland.com 1100532537 207.105.83.66 (15 Nov 2004 07:28:57 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail