Hi! Long time user/lurker... I think the P2P is a brilliant idea!! I'm running it now. I can't really tell if anyone's downloaded a deck from me yet tho...
A question: I have a hardware firewall. Which port/s do I open to allow ppl to conect to me? It looks like it might be 3999.
Also, I second (3rd, 4th?) adding a way to share a folder 'tree'...
Oh, also, I've been hitting the 10Mb zip limit with a number of decks I've tried to share... sigh... yes, I have some bmp/png decks!
But otherwise, it looks good! I've downloaded successully... I'll be leaving it up 24/7
P2P Questions
Moderators: Programmer, WebWeaver, WillowsHeart
- Programmer
- Major Contributor
- Posts: 1725
- Joined: Sat 01 Jan, 2005 12:00 am
- Location: Spain
- Contact:
P2P Questions
Hi Ralf,
Thanks for the feedback, and I am glad you are enjoying the P2P program. Yes, the port you need to open is 3999 for the time being, although this might change when the tool is finally incorporated into the main program.
The limit to how big the file size should be is obviously somewhat arbitrary. I think 10 megs is really quite high though - I bet you could greatly reduce the size of those decks by switching to a different format, without a noticeable loss of quality. Or you could have a web edition and a luxury edition for your own use. It is a bit more work but it would probably be appreciated by users who request the deck.
Another arbitrary limit that I am not so certain about at all is the ten minutes I have specified for request timeouts. I think this should probably be configurable, so I will include that in the next version of the program (along with the folder tree!).
I do want to include a statistics page as well, where you will be able to see a log of decks that have been requested from you and that you have received. In the meantime there is a slightly more long-winded way seeing which of your decks have been requested - for debugging purposes it is being recorded in the Windows Event Log.
Cheers
Richard
Thanks for the feedback, and I am glad you are enjoying the P2P program. Yes, the port you need to open is 3999 for the time being, although this might change when the tool is finally incorporated into the main program.
The limit to how big the file size should be is obviously somewhat arbitrary. I think 10 megs is really quite high though - I bet you could greatly reduce the size of those decks by switching to a different format, without a noticeable loss of quality. Or you could have a web edition and a luxury edition for your own use. It is a bit more work but it would probably be appreciated by users who request the deck.
Another arbitrary limit that I am not so certain about at all is the ten minutes I have specified for request timeouts. I think this should probably be configurable, so I will include that in the next version of the program (along with the folder tree!).
I do want to include a statistics page as well, where you will be able to see a log of decks that have been requested from you and that you have received. In the meantime there is a slightly more long-winded way seeing which of your decks have been requested - for debugging purposes it is being recorded in the Windows Event Log.
Cheers
Richard
P2P Questions
Hi Richard
This is a good point about the Port Forwarding. Is there any chance of getting something in the app that checks if the right ports are forwarded? I'm Ex-IT and know what routers and port forwarding are but am still legendarily crap at working out whether or not I've managed to set it up correctly.
Even now I'm not actually sure anyone can see the decks I have shared even though I can see everyone elses?
Cheers
Mark
This is a good point about the Port Forwarding. Is there any chance of getting something in the app that checks if the right ports are forwarded? I'm Ex-IT and know what routers and port forwarding are but am still legendarily crap at working out whether or not I've managed to set it up correctly.
Even now I'm not actually sure anyone can see the decks I have shared even though I can see everyone elses?
Cheers
Mark
P2P Questions
Wubble69: I can see your decks! So that's working then :)
If there's no author/creator of a deck the program shares it with the logon name (I think: Richard?) of the user! I was meaning to mention that...
Forwarding port 3999 in my linksys and windows firewall works for me... if you check the application log with event viewer you should see decks being previewed and downloaded...
If there's no author/creator of a deck the program shares it with the logon name (I think: Richard?) of the user! I was meaning to mention that...
Forwarding port 3999 in my linksys and windows firewall works for me... if you check the application log with event viewer you should see decks being previewed and downloaded...
- Programmer
- Major Contributor
- Posts: 1725
- Joined: Sat 01 Jan, 2005 12:00 am
- Location: Spain
- Contact:
P2P Questions
It is a very good idea to have some way of validating that each computer that logs on can be seen by the others, one way or another. I think the only way to do it though would be to have the server poll the user as a test. I don't know how the program could detect what your firewall software was doing locally, I don't think it could.
As you realised, the author/creator comes from the PackInfo.xml file where those details are available. This present cut-down version uses the Windows user name as a default in the other cases, but when the program is incorporated into the tarot program then it will take the user's OT nickname instead.
As you realised, the author/creator comes from the PackInfo.xml file where those details are available. This present cut-down version uses the Windows user name as a default in the other cases, but when the program is incorporated into the tarot program then it will take the user's OT nickname instead.