Is there any interest in a file transfer library for sending/receiving large files.
I thought that with TCP it would be relatively easy to just send packets and have them received, but it still took more work than expected splicing, sending, and reassembling large files.
Or does one of these already exist and I just reinvented the wheel?
File Transfer Library
Re: File Transfer Library
- Doesn't belong in the finished projects section
- http://tinyurl.com/4bkuyg2
- Seriously?
Request Programs
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
Re: File Transfer Library
Looks like the subtitle says, "Discuss ongoing projects." Even if it didn't say that all I would just have to do is cut out my code and and clean it up to turn it into a working library. There are plenty of other topics that for the moment have just as little to showcase so chill out and stop trying to be a backseat moderator.EMB wrote: [*]Doesn't belong in the finished projects section
Oh wow, FTP on luasocket. How very helpful, except that I know of no easy way to start an FTP server in LOVE.EMB wrote: [*]http://tinyurl.com/4bkuyg2
[*]Seriously?
This library would use TCP and/or UDP to transfer large amounts of data between two love clients. Both implementations, especially the UDP one, are more than just a few lines of code. I've never seen a single LOVE project that has included a working implementation of large data transfer with 100% fidelity. But since you seem to think it's so easy you might as well post your method so we can all learn from your expertise. Otherwise, thanks for nothing.
Re: File Transfer Library
"Discuss ongoing projects." doesn't mean "Ask how to do shit."
Also, WHY?
Also, WHY?
Request Programs
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
Re: File Transfer Library
I've already "done the shit" and was seeing if there was enough interest for me to release it as a library.
Why?
I'm personally using it for a PBEM style game, but it's not hard to think of why games might want to send more data than simple update packets. Plenty of projects here use some sort of map files. What if I want to allow players to play on custom maps the host made? What about games that have dynamic maps or ones that are generated on the fly? There's also huge potential for LOVE nongame applications.
Why?
I'm personally using it for a PBEM style game, but it's not hard to think of why games might want to send more data than simple update packets. Plenty of projects here use some sort of map files. What if I want to allow players to play on custom maps the host made? What about games that have dynamic maps or ones that are generated on the fly? There's also huge potential for LOVE nongame applications.
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: File Transfer Library
I'll say yeah, I'd like to see it. Just for fun.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: File Transfer Library
I can't remember how we did it for LovelyBigPlanet, but that had some networking in the same vein as well, iirc.
Help us help you: attach a .love.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: File Transfer Library
Which we don't have, so he did that right.EMB wrote:
- Doesn't belong in the finished projects section
Hmm, can't remember the details.. too long ago, maybe even http? I forgot..Robin wrote:I can't remember how we did it for LovelyBigPlanet, but that had some networking in the same vein as well, iirc.
Anyway, sure, having a (useful) lib can't be a bad thing, can it?
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: File Transfer Library
Yeah, you can't hurt anyone with the policy "release first, look for an audience later".bartbes wrote:Anyway, sure, having a (useful) lib can't be a bad thing, can it?
Help us help you: attach a .love.
Re: File Transfer Library
I just happened to be fixing some problems with my implementation when I wondered if it could benefit anyone else. As making a clean library would directly take away from my game dev time I just wanted to see if there were people who could actually make use of it right now. I'll release it eventually no matter what since it seems such a library doesn't yet exist, but I would definitely rush it to completion faster if I knew people were able to make immediate use of it.
Even if no one can use it right now I'm sure extra sets of eyes on my code could point out a more efficient methods.
I remember looking over every project that had any form of networking and learning what I could. If LovelyBigPlanet used http I probably skimmed over that section. I'll check again soon.
Even if no one can use it right now I'm sure extra sets of eyes on my code could point out a more efficient methods.
I remember looking over every project that had any form of networking and learning what I could. If LovelyBigPlanet used http I probably skimmed over that section. I'll check again soon.
Who is online
Users browsing this forum: No registered users and 3 guests