From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3190aba277f0ce3e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-06 19:37:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!newsfeed.mathworks.com!wn3feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail From: Caffeine Junky Subject: Re: Question on Client - Server communication Newsgroups: comp.lang.ada References: User-Agent: Pan/0.11.3 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Comment-To: "Preben Randhol" Message-ID: NNTP-Posting-Host: 12.245.48.122 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc51.ops.asp.att.net 1026009463 12.245.48.122 (Sun, 07 Jul 2002 02:37:43 GMT) NNTP-Posting-Date: Sun, 07 Jul 2002 02:37:43 GMT Organization: AT&T Broadband Date: Sun, 07 Jul 2002 02:37:43 GMT Xref: archiver1.google.com comp.lang.ada:26919 Date: 2002-07-07T02:37:43+00:00 List-Id: On Sat, 06 Jul 2002 15:55:11 -0400, Preben Randhol wrote: > Caffeine Junky wrote on 06/07/2002 (03:12) : >> Use port "forwarding". Very simple. >> >> The server designates a standard port. The application connects to the >> server on that port. The server then tells the application to switch to >> port number X and opens a connection on that port. This leaves the >> original port open to recieve more app requests. There are alot of >> servers that do this. Check out thier source code. > > I see. Is this a way to avoid using tasks? I mean I can easily connect > several applications to the same port on a server using tasks. Well...depends on what your doing with the tasks. If the tasks are generating alot of traffic, it might simplify things to tack on an additional port per Y number of tasks. i.e. Open another port for every 10 tasks. This way the timing issues should be less troublesome. You also should be familiar with the way the intended platform will handle the tasks, i.e. as threads or full weight processes, etc... St4pL3