Article View: borland.public.cppbuilder.internet.socket
Article #4034Re: Problem with TIdTime
From: Remy Lebeau (TeamB)
Date: Tue, 12 Apr 2005 01:40
Date: Tue, 12 Apr 2005 01:40
26 lines
2125 bytes
2125 bytes
"Jerry Xiao" <blackart0@sina.com.cn> wrote in message news:425b1b4c@newsgroups.borland.com... > I use TIdTime connect TimeServer,when i preset "host" Property at > design ,it work. But when i set "host " Property at program runing,it > does't work,it can't connect TimeServer, Assigning the Host at design-time does not actually connect to the server. That only happens at run-time. You can assign anything you want to the Host at any time, it is not actually processed until Connect() is called. > IdTime1->Host = cbxServer->Text;//"10.52.104.100"; That is not a valid Time server. > "Project TimeClient.exe raised exception class EIdSocketError > with message 'Socket Error # 10061 Connection refused.'.Process > stoped. Use Step or Run to continue." Verify your IP address and port. You are trying to connect to a server that is not actually running. The remote machine is reachable, but there is no server socket listening on the port you are trying to connect to. Gambit
Technical Details
Message-ID:
<425b269b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<425b1b4c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,d8d96485ad860d2b X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <425b1b4c@newsgroups.borland.com> Subject: Re: Problem with TIdTime Date: Mon, 11 Apr 2005 18:40:37 -0700 Lines: 28 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: 68.69.17.41 Message-ID: <425b269b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1113269915 68.69.17.41 (11 Apr 2005 18:38:35 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail