Re: Server/Clients system



On Mar 20, 2:05 pm, "deadpickle" <deadpic...@xxxxxxxxx> wrote:
On Mar 20, 1:48 pm, "Peter J. Holzer" <hjp-usen...@xxxxxx> wrote:





On 2007-03-20 17:20, deadpickle <deadpic...@xxxxxxxxx> wrote:

On Mar 20, 9:23 am, Ted Zlatanov <t...@xxxxxxxxxxxx> wrote:
On 20 Mar 2007 07:04:30 -0700 "deadpickle" <deadpic...@xxxxxxxxx> wrote:
d> First of all I havent wrote any code for this yet, I'm still in the
d> brainstorming section. What I want to do is have a server that resides
d> on a networked computer somewhere. This server will recieve files from
d> 2 clients. Then these 2 clients will ask the server for another file
d> and the server will send it. So in summary I have 2 Clients that can
d> send and recieve files and a Server that can recieve and send files.
d> Hope that makes sense. I am not sure on how to do this, or how to get
d> started, anyone got any ideas?

Well, you could implement this with FTP or HTTP (HTTP has a "PUT"
command), reimplementing as much of the protocol as you desire. Are
you trying to implement something new as a fun project, or is this
real work? In the real world I'd avoid writing new protocols when so
many good ones exist already (implemented in C, bug-free, etc.).
[...]
This is for a undergraduate project at my university. I'm thinking
about using BitTorrent. I want this whole system to be autonomous and
to make many transfers every minute, can BitTorrent do this?

BitTorrent doesn't sound like a good choice: Firstly, it doesn't have an
upload capability (AFAIK). Secondly, it isn't designed to transfer many
small files between a server and a small number of clients - it is
designed to distribute large files to to a large number of clients.

Writing a bittorrent implementation might be fun and instructive, but
for your (stated) needs it sounds like overkill. HTTP is probably the
simplest protocol for that purpose (as long as you don't implement all
of RFC 2616).

hp

--
_ | Peter J. Holzer | Blaming Perl for the inability of programmers
|_|_) | Sysadmin WSR | to write clearly is like blaming English for
| | | h...@xxxxxx | the circumlocutions of bureaucrats.
__/ |http://www.hjp.at/| -- Charlton Wilbur in clpm- Hide quoted text -

- Show quoted text -

How about SFTP. It seems prity easy to write a script in perl.- Hide quoted text -

- Show quoted text -

Also, how can I use SFTP on a windows machine?

.



Relevant Pages

  • Re: SBS 2003 - VPN - IPX Configuration
    ... Did you add that protocol to the server and the clients? ... > We have an older client/server product that requires the protocol. ... fine on any windows LAN with ipx/spx installed (No Novell Server). ... >> IPX portion of the VPN clients connection. ...
    (microsoft.public.backoffice.smallbiz2000)
  • client -server interaction over XML supporting multiple protocols
    ... I am in process of developing a Server in C++ supporting multiple ... server doesnot know in advance which client is using what protocol. ... client1 is communicating over protocol TCP to access X ... is able to handle multiple clients at the same time over TCP /IP. ...
    (comp.lang.cpp)
  • Re: I want my MOM
    ... >> 5) Require that the header MUST have the content-length ... >> again slam the server with never ending data until it dies. ... server to have a reason to boot bad clients. ... Another thing a pre-sized protocol does is make it much harder to have ...
    (comp.lang.ruby)
  • RE: Users Cant Access Documents on Server
    ... Thanks for using the SBS newsgroup. ... As well as we know, if a workstation would not access network shares, then ... Leave the Default Gateway of the internal NIC blank of the server box. ... Clients That Require SMB Signing ...
    (microsoft.public.windows.server.sbs)
  • Re: Users Cant Access Documents on Server
    ... my computer to the network on the server. ... Connection Wizard none of the computers were listed. ... The Mac clients can not communicate with the server box. ... > Error Messages When You Open or Copy Network Files on Windows XP SP1 ...
    (microsoft.public.windows.server.sbs)