Click to See Complete Forum and Search --> : socket call


Nihas
December 4th, 2002, 07:41 AM
Hi please try this

If the socket call is being repeatedly used say in a loop-then, what is the maximum limit to the file descriptor that will be returned by socket call.
Or how long can we go on making sockets ?

:rolleyes:

boris_tubak
December 4th, 2002, 11:28 AM
Originally posted by Nihas
Hi please try this

If the socket call is being repeatedly used say in a loop-then, what is the maximum limit to the file descriptor that will be returned by socket call.
Or how long can we go on making sockets ?

:rolleyes:

the real number is os-dependant. win95 can create far less sockets than say win2k. it's also memory dependant. the best thing to do is see if socket() returns INVALID_SOCKET.