Article View: borland.public.cppbuilder.nativeapi
Article #8843Re: Server and Client
From: Hans Galema
Date: Thu, 09 Sep 2004 14:46
Date: Thu, 09 Sep 2004 14:46
48 lines
2560 bytes
2560 bytes
JD wrote: > Currently, the only requirements for the server are tracking > users as they log on and off and sending and receiving messages > to the clients. What is the user of a server ? Clients use servers. Are not clients the only users? Please elaborate. > Also, the client could be on a a non-networked > system. Then the client would be on the same computer as the server!? > What's the 'best' (perhaps fastest/easiest) way to meet minimum > requirements? Please elaborate first. As the other said already: TServerSocket/TClientSocket come to mind. The chat example that comes with bcb is a -not to good- start. > In the future, some processing may be moved to the server which > would involve client data manipulation and fetching and saving > data to and from disk. Well that can never be a problem. Why would it ? Why would it change anything ? > Same question: What's the best/fastest/easiest way? > How would this solution impact on the choice of the first? Do not understand that it had influence. > There has also been discussion of incorporating dialup and/or > internet access in the future. Recommendations? TServerSocket/TClientSocket are unaware of dial-up, network or loop-back. You do not have to care for that. It's all done for you by the OS. > I also don't understand how the server gets started on the > server. Would an install package take care of that or what? The possibilities of starting a server are the same as any other app. What has installing to do with starting ? You see: more questions than answers ;-) Hans.
Technical Details
Message-ID:
<41406c0e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<412f395f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,eb72ec3a40b04705 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 09 Sep 2004 16:46:19 +0200 From: Hans Galema <dontusethis@dontusethis.nl> User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Server and Client References: <412f395f$1@newsgroups.borland.com> In-Reply-To: <412f395f$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <41406c0e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1094741006 129.125.201.248 (9 Sep 2004 07:43:26 -0700) Lines: 48 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail