|
-
Jan 16th, 2009, 04:24 PM
#1
Thread Starter
Frenzied Member
Winsock array and SSL
Hi, does anybody know how to use SSL with a Winsock array and still being able to use all the events? Unfortunately there is almost no example code available.
The only code I can find is for single Winsock connections to get the source code from webpages (https), but I need to upload many 500kB text files with multiple connections (Winsock array) and being able to use the SendProgress event to get the upload progress.
Last edited by Chris001; May 30th, 2009 at 05:12 PM.
-
Mar 7th, 2009, 06:53 PM
#2
Thread Starter
Frenzied Member
Re: Winsock array and SSL
Does anybody know how to modify these examples, so they'll work with a Winsock array?
http://www.pscode.com/vb/scripts/Sho...49170&lngWId=1
http://www.pscode.com/vb/scripts/Sho...43694&lngWId=1
Or does anybody have an example with OpenSSL or any other freeware DLL's to transfer data with SSL?
Last edited by Chris001; Mar 7th, 2009 at 07:21 PM.
-
Mar 7th, 2009, 07:05 PM
#3
Re: Winsock array and SSL
-
Mar 7th, 2009, 07:20 PM
#4
Thread Starter
Frenzied Member
Re: Winsock array and SSL
Sorry, they're fixed now.
-
Mar 8th, 2009, 02:02 AM
#5
Re: Winsock array and SSL
You'll need to use an array of that SSL class (for the first example). In order to do that and still be able to have the events, you need to do something like this:
http://www.vbforums.com/showthread.php?t=372811
-
Mar 8th, 2009, 10:04 AM
#6
Thread Starter
Frenzied Member
Re: Winsock array and SSL
Thank you, DigiRev
-
Mar 10th, 2009, 03:10 AM
#7
Re: [RESOLVED] Winsock array and SSL
You're welcome.
-
May 30th, 2009, 05:12 PM
#8
Thread Starter
Frenzied Member
Re: [RESOLVED] Winsock array and SSL
Does anybody have a good example how to use SSL with a Winsock array? I can't believe nobody has ever tried to use Winsock + SSL for anything other than downloading a simple webpage. Somebody must have used SSL for downloading/uploading files with a Winsock array with all the events available?
I tried to use the example from the link above, but soon gave up, because it was too complicated to implement. I need to be able to switch between normal usage and SSL, like setting a property, so the user can check/uncheck a checkbox to connect via SSL or not.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|