473,406 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

File sharing

Hi all,

I want to write a "File sharing system".

Is posssible with socket and thread create multisuer connection at the same
time ?

or is wrong my idea??

thanks
Alex
Jul 18 '05 #1
3 2764
Alex wrote:
Hi all,

I want to write a "File sharing system".

Is posssible with socket and thread create multisuer connection at the same
time ?
Yes. You can use multiple sockets and a thread per connection,
or you can use one of Python's event driven frameworks to handle
lots of concurrent connections (Twisted, for instance).
or is wrong my idea??


I don't know, but have a look at BitTorrent.
That is an existing popular file sharing system written in Python.

http://bitconjurer.org/BitTorrent/

No need reinventing the wheel, right?

--Irmen de Jong

Jul 18 '05 #2
Irmen de Jong wrote:
Alex wrote:
Hi all,

I want to write a "File sharing system".

Is posssible with socket and thread create multisuer connection
at the same time ?


Yes. You can use multiple sockets and a thread per connection,
or you can use one of Python's event driven frameworks to handle
lots of concurrent connections (Twisted, for instance).
or is wrong my idea??


I don't know, but have a look at BitTorrent.
That is an existing popular file sharing system written in Python.

http://bitconjurer.org/BitTorrent/

No need reinventing the wheel, right?


Also, you might be interested in Pyro:

http://pyro.sourceforge.net/

Pyro claims to support remote objects. Perhaps you could
represent files with remote objects.

OK. I admit. It's a stretch. But, if you want to simulate file
sharing across the *Net* ...

- Dave

--
Dave Kuhlman
http://www.rexx.com/~dkuhlman
dk******@rexx.com
Jul 18 '05 #3
Dave Kuhlman wrote:
Also, you might be interested in Pyro:

http://pyro.sourceforge.net/


LOL, that should have been my comment ;-)

I know of a few Pyro projects that actually *do* use Pyro
to transfer files across the network. One of them is rather
interesting, the files are digital images produced by an
earth-orbiting sattelite.. :-)

--Irmen

Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dave Y | last post by:
Hello, I am new to ASP as well as IIS. I am trying to learn how to create a web application using asp.NET. I have followed the instructions for configuring the IIS settings but when I click on...
6
by: varlagas | last post by:
We disabled the antivirus software but the problem persists. Any clues? Many thanks in advance! Panagiotis Varlagas ======================================================================= ...
4
by: Tony Liu | last post by:
Hi, how can I create multiple new file handles of a file without having to share to file to the other processes? I have a file that will be accessed by multiple threads in my application, each...
5
by: Jeff | last post by:
Hi - I'm creating an installation program that will install a VB.NET program and an instance of MSDE on an unknown desktop (commercial application). The install will include the MSDE...
0
by: daniele.balducci | last post by:
Hi All, I'm experiencing troubles in a simple .net web application. The applicatione is made up by a single form looping to move some files to a different folder . the main loop is as follows...
13
by: George | last post by:
Hi, I am re-writing part of my application using C#. This application starts another process which execute a "legacy" program. This legacy program writes to a log file and before it ends, it...
15
by: Brian Simmons | last post by:
Is there an easy way to check to see if a file is in use? I want to open a CSV file from my .NET2 program, and write to it. However, the file could be in use by another program. If that is the...
11
by: limperger | last post by:
Hello everybody! I have just found out that the sharing properties of a single database (mdb file on a network), accessed by 3 users, change depending on the user accessing the database. That is,...
1
by: strconv | last post by:
Hi, i get a project about; to showing videos and mp3 on server but without sharing. is it possible to do with winsock ? i have a server(xp pro) and i have 20+ client. but there is no file...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.