Best windows Client Server lib

Unknown W. Brackets unknown at simplemachines.org
Tue Apr 8 00:38:30 PDT 2008


I think it sounds like what you want could simply use FTP as a backend, 
or even DAV.  Mail is most likely the completely wrong way to do it...

In fact you basically seem to be describing FTP (user asks for/sends... 
reply... etc.)  FTP, of course, is a bit slow (which is why Subversion, 
also similar in ways to what you describe, is implemented using DAV.)

Some questions to help narrow down your search:

Would all your clients be Windows?
Would your server also be Windows?
Do all clients only talk with the server, or with each other?
Do they relay things through the server, or just store things that other 
clients will then ask about?
Do you have any plans/desires for being able to scale the solution to 
more than a single server?
Do you need security/certificates/encryption?
Does the server actually need special logic, or is it a bucket?

I've actually taken part in writing an FTP server, and had a data 
communication server (it's used for multiplayer games and chat and 
stuff) contracted using D, but those were both simply using sockets. 
FWIW, if you decide to extend Phobos' Socket I strongly suggest 
recompiling Phobos as a debug build.  There are gotchas.

-[Unknown]


janderson wrote:
> Bruce Adams wrote:
>> On Mon, 07 Apr 2008 09:04:39 +0100, janderson <askme at me.com> wrote:
>>
>>> Hi,
>>>
>>> I'm looking for a good network library for a project I'm considering 
>>> starting.  Basically I need to be able to handle multiple users who 
>>> would login then send messages and files back and forth with the server.
>>>
>>> Has anyone done that?  What libraries are you using?  Anyone have any 
>>> examples of performing the basic login procedure. I'd rather not 
>>> start from scratch.
>>>
>>> Cheers,
>>> -Joel
>>
>> Depends on what your requirements are. You could get away with using any
>> mail server from the above alone or ssh / scp (secure shell) with 
>> appropriate
>> wrapping.
> 
> How?  Do you have any links to setting something like this up on windows?
> 
> Basically I want:
> 
> GUI: User logs in (or creates a new login)
> 
> User asks for/sends something.
> Server Replies.
> User asks for/sends something.
> Server Replies.
> etc...
> 
> It would be hidden behind a gui.
> 
> Cheers,
> -Joel



More information about the Digitalmars-d mailing list