Article View: borland.public.cppbuilder.internet.socket
Article #146Re: Hair 0, Indy10 1
From: Gene Buckle
Date: Tue, 03 Jun 2008 17:53
Date: Tue, 03 Jun 2008 17:53
35 lines
2207 bytes
2207 bytes
Dennis Cote <dennis.cote@gmail.com> wrote: > Gene Buckle wrote: >> >> Any suggestions as to how I can actualy make this work? A C++ example would >> be great. >> > > You might want to look at some of the samples at > http://www.atozed.com/indy/demos/10/index.EN.aspx or > http://www.indyproject.org/Sockets/Demos/index.EN.aspx > > Nothing in C++ specifically, but you should be able to translate from > Delphi or C# fairly easily in most cases. > Thanks Dennis. I read and re-read the docs and still couldn't make it work. I threw it out and started using the "TTCPClient" control that came with RAD Studio. Strangely enough (ok, not strangely, "typically"), there's no documentation on it at all in the help files. I'd like to be able to set a timeout value for the TTCPClient->Receiveln() method, but so far have had no luck in locating such a thing. For the record, TTcpClient worked as expected - set the host, the port and call connect. *bing* it works. I will examine the demos to see if there is anything I was missing in my setup of TIdTCPClient, but I seriously doubt it. thanks all. g. -- Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind.
Technical Details
Message-ID:
<4845851e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<48406d41@newsgroups.borland.com> <48407d4c$1@newsgroups.borland.com> <48408535@newsgroups.borland.com> <48442d6c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9339fc05f2f275c
X-Google-Attributes: gid11508e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <4845851e@newsgroups.borland.com>
From: Gene Buckle <geneb@grumble.deltasoft.com>
Subject: Re: Hair 0, Indy10 1
Newsgroups: borland.public.cppbuilder.internet.socket
References: <48406d41@newsgroups.borland.com> <48407d4c$1@newsgroups.borland.com> <48408535@newsgroups.borland.com> <48442d6c$1@newsgroups.borland.com>
User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (Linux/2.6.23.15-80.fc7 (i686))
NNTP-Posting-Host: 199.254.199.46
Date: 3 Jun 2008 10:53:34 -0700
X-Trace: newsgroups.borland.com 1212515614 199.254.199.46 (3 Jun 2008 10:53:34 -0700)
Lines: 35
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 2037