Click to See Complete Forum and Search --> : Out of Buffer Space


October 7th, 1999, 06:48 PM
Can anyone help me?!

I have a a winsock control array, which I wanted to allow me to configure 30 ports, so that I can handle incoming requests from many users.

At the moment, I can only ever have 19 people on at any time. If I ask the winsock control to listen on any other ports, it says it's out of buffer space.

What can I do to get around this?

Does the fact that my PC has only 64Mb make a difference?

Cheers
Craig.

Ravi Kiran
October 9th, 1999, 02:08 AM
This could be a test, that can be tried: Make an exe of the program and run. If you are able to hit a higher no. than run from IDE before getting buffer full then physical memory is the problem. Otherwise some other limitation, is blocking, like access to ports etc!, in which case you might have to change some settings... Just a guess:-)

RK

October 10th, 1999, 04:06 PM
Tried that - but no luck!

how do you increase the buffer space? WinNT allows 255 connections at one time, but it looks like Winsock won't allow more than 19.

How do I get around this?

Cheers
Craig.