Article View: borland.public.cppbuilder.internet.socket
Article #5219Re: Dynamically create TIdTCPServer in a class
From: James
Date: Sun, 03 Oct 2004 00:39
Date: Sun, 03 Oct 2004 00:39
39 lines
2170 bytes
2170 bytes
Thanks for the reply! There are no exceptions raised at all. The Active property just remains false! On searching Google, I noticed another C++ Builder user had experienced this problem, but no-one had really offered an answer. I've tried loads of things, but I just can't get TCPServer->Active to true. I wondered if there was some sort of initialisation taking place when the TIdTCPServer was created by dropping it on the form, and obviously I'm missing something when creating it dynamically. The TCPServer isn't even opening the socket. I know this because I'm running ZoneAlarm, which always pops a box up when a TCPServer is started. Any advice? Thanks, - James "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:415eea42$1@newsgroups.borland.com... > > "James" <jb9@btinternet.com> wrote in message > news:415eb5c8$1@newsgroups.borland.com... > >> I'm having real problems setting the TCP Server to Active. >> After running the code below, the TIdTCPServer's Active >> property is still false. > > Are you getting any exceptions at all? If there is a failire in opening > the > socket, you should be getting some kind of error. > > > Gambit > >
Technical Details
Message-ID:
<415f4a4d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<415eb5c8$1@newsgroups.borland.com> <415eea42$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,8070b28a061afe85 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "James" <jb9@btinternet.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <415eb5c8$1@newsgroups.borland.com> <415eea42$1@newsgroups.borland.com> Subject: Re: Dynamically create TIdTCPServer in a class Date: Sun, 3 Oct 2004 01:39:40 +0100 Lines: 41 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 217.42.239.253 Message-ID: <415f4a4d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1096763981 217.42.239.253 (2 Oct 2004 17:39:41 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail