Results 1 to 4 of 4

Thread: All At Once

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Posts
    482

    All At Once

    hello, i read a while ago, that winsock can only do one function for one thing, wait til it is done, then do the next..

    now, then i heard you can use.. MODULES to do more than one ... well function.. in the exact same sub, function what ever..

    so that , you can have multiple instances at the same time or something..

    I really don't know how to word this..

    but if anyone can assist me in knowing more.. or possibly providing some code on how to do this ALSO


    Sorry, it is late and i can't think straight

  2. #2
    Matthew Gates
    Guest
    Couldn't you just add multiple Winsock Controls to your form?

  3. #3
    Hyperactive Member
    Join Date
    Mar 2001
    Location
    Calgary, Canada
    Posts
    453
    I think you're refering to multiple winsocks listening and responding on a number of different ports all at the same time.

    As Matthew has already stated you could use multiple winsocks on the one form. You could dynamically create these as you needed them, or you could run multiple instances of a small vb app that would listen on a particular port, and these would kill themselves when no longer needed.

    SD
    "I'd rather have a full bottle in front of me than a full frontal lobotomy!"

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Posts
    482
    noo noo..
    I mean like

    Jackson asks to Parse data

    Sub ParseData()
    stuff here, may take awhile
    end sub

    but lets say, 17 more people want to use that sub..
    but it takes a while..
    i read that it will take the first one, use it, wait.. then use the next

    kinda like an mp3 PLAYLIST.. if you will.. one at a time

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