Thread overview | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
April 07, 2008 Best windows Client Server lib | ||||
---|---|---|---|---|
| ||||
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 |
April 07, 2008 Re: Best windows Client Server lib | ||||
---|---|---|---|---|
| ||||
Posted in reply to janderson | On Mon, 07 Apr 2008 09:04:39 +0100, janderson <askme@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.
|
April 07, 2008 Re: Best windows Client Server lib | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bruce Adams | Bruce Adams wrote:
> On Mon, 07 Apr 2008 09:04:39 +0100, janderson <askme@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
|
April 07, 2008 Re: Best windows Client Server lib | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bruce Adams | Bruce Adams wrote: > On Mon, 07 Apr 2008 09:04:39 +0100, janderson <askme@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. Looks like http://www.dsource.org/projects/transferserver/wiki may do this. However it seems to have been abandoned and incomplete. Anyone had any success using this lib? -Joel |
April 07, 2008 Re: Best windows Client Server lib | ||||
---|---|---|---|---|
| ||||
Posted in reply to janderson | i use it myself, is need and fast. http://prostoserver.com/ for crypto i use http://www.cryptosys.net/pki/index.html -- super!!! hope it helps. janderson 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 |
April 08, 2008 Re: Best windows Client Server lib | ||||
---|---|---|---|---|
| ||||
Posted in reply to lurker | lurker wrote: > i use it myself, is need and fast. > > http://prostoserver.com/ > > for crypto i use > > http://www.cryptosys.net/pki/index.html -- super!!! > > > hope it helps. Cheers I'll look into these, although I'd prefer something that's already been ported to D. -Joel > > > > janderson 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 > |
April 08, 2008 Re: Best windows Client Server lib | ||||
---|---|---|---|---|
| ||||
Posted in reply to janderson | 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@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 |
April 08, 2008 Re: Best windows Client Server lib | ||||
---|---|---|---|---|
| ||||
Posted in reply to janderson | Take a look into RakNet. Great library and it's already ported to D (http://team0xf.com/index.php?n=Site.Download) On Tue, 08 Apr 2008 06:46:44 +0400, janderson <askme@me.com> wrote: > lurker wrote: >> i use it myself, is need and fast. >> http://prostoserver.com/ >> for crypto i use >> http://www.cryptosys.net/pki/index.html -- super!!! >> hope it helps. > > > Cheers I'll look into these, although I'd prefer something that's already been ported to D. > > -Joel > >> janderson 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 >> |
April 08, 2008 Re: Best windows Client Server lib | ||||
---|---|---|---|---|
| ||||
Posted in reply to janderson | janderson 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 It is not obvious to me exactly what you need, but you should look into tango.net and Mango http://www.dsource.org/projects/tango http://www.dsource.org/projects/mango -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango |
April 09, 2008 Re: Best windows Client Server lib | ||||
---|---|---|---|---|
| ||||
Posted in reply to Unknown W. Brackets | Unknown W. Brackets wrote: > 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.) It should be very similar to Subversion. Actually subversion may be used as a backend (ie to store history and stuff but no direct interface to the user). > > Some questions to help narrow down your search: > > Would all your clients be Windows? To begin with yes. In the long run I'd like to make it portable. > Would your server also be Windows? Yes. > Do all clients only talk with the server, or with each other? Just to the server. Server, Client not peer to peer. > 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? Eventually but not in the beginning. I imagine it would need to support about 100 users, maybe 10 at a time. > Do you need security/certificates/encryption? Yeah, mainly for passwords so I can't see them, although encrypting all the data would probably be useful. > Does the server actually need special logic, or is it a bucket? The server will have some special logic, like special access privilages for users and stats tracking. Basically I need to monitor and control every request the user makes and its a dynamic thing (ie a users privileges can change based on things they do). I also may eventually add things like chat down the road. Great questions BTW. > > 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] Thanks. |
Copyright © 1999-2021 by the D Language Foundation