What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Download Manager Plugin

Pages: (4): « First « 1 [ 2 ] 3 4 » Last »
Download Manager Plugin
Author: Message:
allex87
Junior Member
**

Avatar
Hmmm...

Posts: 99
37 / Male / –
Joined: Jul 2003
O.P. RE: Download Manager Plugin
For starters, I will make a plugin command /xdmsend or something that opens a file open dialog and sends the file. After I have a working transfer I will, maybe, make it so that when u click on send file or when a file is sent is msn messenger you will get the custom download manager or something.

Well, good news! I figured out how to do file transfers and communicate between server/client sockets ;)

Now, IMHO I should include some error-checking mechanism (CRC, MD5, SVF, or something else). Which one to use?

~Alex.
[Image: signature.gif]
06-20-2004 02:39 AM
Profile E-Mail PM Web Find Quote Report
Concord Dawn
Veteran Member
*****

Avatar
This is a loopy fruit.

Posts: 1203
Reputation: 16
34 / Male / –
Joined: Feb 2004
RE: Download Manager Plugin
Again, which ever works best, although I think that CRC might be the easiest. Good job so far.
[Image: 7.png]
06-20-2004 09:50 PM
Profile E-Mail PM Find Quote Report
NeoRevan
Full Member
***

The Dark Lord Revan

Posts: 137
37 / Male / Flag
Joined: Jul 2003
RE: Download Manager Plugin
I just want to say that this sounds like an awesome plugin, and I will tell as many of my friends as possible about it when its done.
Im amazed over how far you have gotten in the making of this, alex.
You are, IMHO, a very talented programmer. I foresee your plugin(s ) and future projects will kick some good and fat ass. :)

I think I speak for just about everybody when I say "Good Luck!(Y)"
[Image: suprnovarip5xc.jpg]
-= R.I.P. SuprNova =-
06-20-2004 10:14 PM
Profile E-Mail PM Web Find Quote Report
Concord Dawn
Veteran Member
*****

Avatar
This is a loopy fruit.

Posts: 1203
Reputation: 16
34 / Male / –
Joined: Feb 2004
RE: Download Manager Plugin
You don't speak for me! I say "Good job!" :P. Anyways, if you want I can test for you.
[Image: 7.png]
06-20-2004 10:25 PM
Profile E-Mail PM Find Quote Report
allex87
Junior Member
**

Avatar
Hmmm...

Posts: 99
37 / Male / –
Joined: Jul 2003
O.P. RE: Download Manager Plugin
Thanks for the replies... :)

The plugin is not yet in a working stage. I need to implement a download manager dialog with the transfers...

Anyways I've got some help  from a friend on the net.. :D

I have one more exam on Monday in Spanish, then I can work on this a lot more ;)

For error-checking, I wil use zlib's error checking mechanism Adler32. CRC32 didn't work for some weird reason - crashed the whole thing so i dumped it. Works fine with Adler32. They are similar anyways...

EDIT: Also, CRC and Adler32 both generate 8-byte checksums, while MD5 generates 32-byte checksums. So, the "useless" data sent is kept to a minimum.

I will try to make the protocol AS SIMPLE as possible so that file transfers are AS FAST as possible. When I have a more detailed protocol description I will post it and request comments/improvements.

~Alex.

This post was edited on 06-21-2004 at 02:38 AM by allex87.
[Image: signature.gif]
06-21-2004 02:36 AM
Profile E-Mail PM Web Find Quote Report
allex87
Junior Member
**

Avatar
Hmmm...

Posts: 99
37 / Male / –
Joined: Jul 2003
O.P. RE: Download Manager Plugin
Development is going on nicely...

Working on the Server now. It will be a multi-threaded server (u want more than 1 file-transfer at one time right? :P). If everything works as planned, it should be done in 1 week maybe?

Question for people that know winsocks:
If my socket listens on say port 1234, can it connect to more than 1 computer at the same time through the same port? Eg. do my server threads have to use mutexes so that only one server thread can send/receive data at a time?

~Alex.
[Image: signature.gif]
06-21-2004 11:54 PM
Profile E-Mail PM Web Find Quote Report
Concord Dawn
Veteran Member
*****

Avatar
This is a loopy fruit.

Posts: 1203
Reputation: 16
34 / Male / –
Joined: Feb 2004
RE: Download Manager Plugin
Good job, sounds like your working hard.
[Image: 7.png]
06-22-2004 12:24 AM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Download Manager Plugin
I can't wait!
[Image: 1-0.png]
             
06-22-2004 07:38 AM
Profile PM Web Find Quote Report
Martijn.
Full Member
***

Avatar
Previously known as |\/|artij|\|

Posts: 162
Reputation: 2
34 / Male / –
Joined: Apr 2004
RE: RE: Download Manager Plugin
quote:
Originally posted by allex87
If my socket listens on say port 1234, can it connect to more than 1 computer at the same time through the same port? Eg. do my server threads have to use mutexes so that only one server thread can send/receive data at a time?


Don't flame me for being wrong:dodgy:, but I think you can only one connection for a port... (In other words, you can't connect to more than one computer using just one port)

BTW, this is going to be a great plugin:)
"If freedom is outlawed, only outlaws will have freedom."
06-22-2004 10:28 AM
Profile E-Mail PM Find Quote Report
Millenium_edition
Veteran Member
*****

Avatar

Posts: 1787
Reputation: 57
Joined: Apr 2003
RE: Download Manager Plugin
quote:
Originally posted by allex87
If my socket listens on say port 1234, can it connect to more than 1 computer at the same time through the same port? Eg. do my server threads have to use mutexes so that only one server thread can send/receive data at a time?

set the remoteport and localport of the new sock to 0, then accept it. you'll be able to have more connections ;)
that's how you can in VB
06-22-2004 11:58 AM
Profile E-Mail PM Find Quote Report
Pages: (4): « First « 1 [ 2 ] 3 4 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On