Results 1 to 4 of 4

Thread: WinSock and Multiple Connections

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 1999
    Location
    Lindenwold, NJ, USA
    Posts
    67

    Question

    I need some kind of tutorial how to make a program that uses winsock control(s) to use multiple connections to one server. I need a tutorial that explains what to do (notjust the code), Can anyone help?
    Frankie Weindel
    VB 6 Learning Edtion SP3

  2. #2
    Addicted Member
    Join Date
    Aug 2000
    Location
    Columbus Ohio
    Posts
    217

    Use UDP not TCP

    To easily make a server connect to multiple clients change the winsock properties to UDP. The only difference in implementing this is that
    A)You must bind the winsock control to a port ie:
    Code:
    winsock.bind 1024
    B)UDP does not have to connect, just send the message to the remotehost and port
    If you have VB you should have vb books online, look up winsock and it should elaborate more. Sorry not too detailed, I'm at work
    Chris

    [email protected]
    Windows XP RC2 B2526
    Visual Studio.Net Beta 2
    C++, VB, VB.Net, ASP, PHP

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 1999
    Location
    Lindenwold, NJ, USA
    Posts
    67
    huh?
    Frankie Weindel
    VB 6 Learning Edtion SP3

  4. #4
    Frenzied Member
    Join Date
    Aug 2000
    Location
    O!
    Posts
    1,177
    Use a control array.

    For more info see:
    Using the Winsock Control

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