Results 1 to 8 of 8

Thread: Winsock array and SSL

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    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.

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    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.

  3. #3
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Winsock array and SSL

    Your links are broken.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Winsock array and SSL

    Sorry, they're fixed now.

  5. #5
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: Winsock array and SSL

    Thank you, DigiRev

  7. #7
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: [RESOLVED] Winsock array and SSL

    You're welcome.

  8. #8

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    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
  •  



Click Here to Expand Forum to Full Width