Results 1 to 3 of 3

Thread: Winsock mutilple connections

  1. #1

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125

    Winsock mutilple connections

    I am using some code to allow multiple users to logon to my server, but after I connect about 20 times, it says no buffer space or somthing like that, and I have to restart the server for more clients to connect. Does anyone know what it means when there is no more buffer space? I haven't tried it with more than 3 people connected at once, but it only happens when I log out and back in and out and in and out (etc...) with the same name.

    Thanks
    -Joey
    <removed by admin>

  2. #2
    Fanatic Member
    Join Date
    Sep 2000
    Location
    UK.
    Posts
    728

    Question Questions...

    Are you dynamically loading the Winsock objects at runtime to accept connections on? If so, do you unload them when someone disconnects?
    Digital-X-Treme
    Contact me on MSN Messenger: [email protected]

    [VBCODE]Debug.Print Round(((1097) - ((55 ^ 5 + 311 ^ 3 - 11 ^ 3) _
    / (68 ^ 5))) ^ (1 / 7), 13)[/VBCODE]

  3. #3

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    Thanks! I forgot all about that. I had it in my original code, but when I started working on the client project, I accidently saved the form over the old one, so I had to rebuild the server from memory, and I forgot that part of the code. Now it's working like a charm!
    <removed by admin>

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