Article View: borland.public.cppbuilder.internet.socket
Article #5756Changing a Binding port in the TIdTCPServer
From: McKool
Date: Tue, 22 Jun 2004 13:52
Date: Tue, 22 Jun 2004 13:52
13 lines
1393 bytes
1393 bytes
Hello. I look many examples of servers with the TIdTCPServer Component version 9 and always is not allowed to make a "disconnect" in the Server. I want to give (if it is possible) to the user the possibility to stop the server, change the port and start it again. I made it with MyServer->Active = false but the Server do not take the new port number. Is there a way to do that? Other question: Where can I post a message to learn how to make a program in C++ Builder that work like a services in Windows NT ? I want to make my server run in that way Thanks in advance.
Technical Details
Message-ID:
<40d83978@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11508e,2cf01be21fbab370,start X-Google-Attributes: gid11508e,public From: "McKool" <kenethw@peak-system.com> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Changing a Binding port in the TIdTCPServer Date: Tue, 22 Jun 2004 15:52:14 +0200 Lines: 15 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: 213.157.13.214 Message-ID: <40d83978@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1087912312 213.157.13.214 (22 Jun 2004 06:51:52 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail