🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TIdTCPServer Command Handler

#4652
From: Remy Lebeau (TeamB)
Date: Wed, 12 Jan 2005 08:48
18 lines
1545 bytes
"Ronny" <potak@chez.com> wrote in message
news:41e3f4b4$1@newsgroups.borland.com...

> now that my application run with the command handlers, I'm
> blocked if I want to add a "send file" function to it ? Do I need
> to re-write all the code ?

No.  Command handlers can send whatever you want.

> And what if I add a second TCP server to my app for file
> transfer only ?

What about it?  That is exactly what TIdFTPServer does for passive
transfers, using both command handlers and multiple sockets.


Gambit
Technical Details
Message-ID: <41e4e48f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41d2f642$1@newsgroups.borland.com> <41e3f4b4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,d17d5067aebc2759
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:  <41d2f642$1@newsgroups.borland.com> <41e3f4b4$1@newsgroups.borland.com>
Subject: Re: TIdTCPServer Command Handler
Date: Wed, 12 Jan 2005 00:48:51 -0800
Lines: 20
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: <41e4e48f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105519759 68.69.17.41 (12 Jan 2005 00:49:19 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail