Results 1 to 2 of 2

Thread: Winsock Array

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Location
    California
    Posts
    115

    Post

    What I'm trying to do is build an array so everytime I make the program download a webpage, it'll open a new winsock

  2. #2
    New Member
    Join Date
    Mar 2002
    Posts
    15

    Smile

    I think this is what you mean

    You Create an element array by Drawing a control on a form and then loading as many instances as you require

    "I" on the second line is the value of an unused Array Number


    Load tcpRecieve(i)
    I = i + 1


    You would Load the new winsock with this number and increment it afterward to allow the next winsock to be created sucessfully when required.

    You can now use the Winsock you have just created as though you added this winsock at design time.

    Hope it helps probably wont as i am bad at explaining things

    P.S

    You may need to set the index property on your Design time Winsock to 0
    Wahoo i know something or not as the case may be

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