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

Thread: sockets

  1. #1
    Guest

    sockets

    Is there a way to find out the total number of sockets on a system???


  2. #2
    Join Date
    May 1999
    Posts
    69

    Re: sockets

    I tried this about 18 months ago, using a brute force algorithm, i.e. recursively create them until the create socket failed. On Windows 95, I could only create 96, but on NT I got over three hundred. As the application needed to support a maximum of 50 connections I stopped there.

    HTH
    Rob.


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