Results 1 to 3 of 3

Thread: Multiple Client connections for Winsock

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 1999
    Location
    Melbourne, Victoria, Australia
    Posts
    126

    Post

    Dear Guys and Gals,

    Ive developed a Telnet server in vb5.
    It accepts the connection fine and allows the connected user to do as they wish.

    However, when 1 client connects, another client cant connect at the same time, is there a way to allow multiple connections on the same port?

    ------------------
    Regards,

    Paul Rivoli
    -------------------
    [email protected]
    http://users.bigpond.com/privoli

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Nov 1999
    Location
    Melbourne, Victoria, Australia
    Posts
    126

    Post

    How do I go about adding multiple Winsock controls at run-time and getting then to listen on the same port?

    ------------------
    Regards,

    Paul Rivoli
    -------------------
    [email protected]
    http://users.bigpond.com/privoli

  3. #3
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    If you are using the TCP protocol, you have to dynamically create a new winsock control at runtime for each client. That will allow you to handle multiple sessions.

    HTH

    Tom

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