CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: socket call

  1. #1
    Join Date
    Nov 2002
    Location
    Home
    Posts
    4

    socket call

    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 ?


  2. #2
    Join Date
    Dec 2002
    Location
    phoenix, az
    Posts
    23

    Re: socket call

    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 ?

    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.

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

Featured