Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Communications > detect number of connections


Reply
 
Thread Tools Display Modes
  #1  
Old 09-05-2003, 04:37 PM
SirDraco SirDraco is offline
Newcomer
 
Join Date: Jun 2003
Location: PA
Posts: 2
Question detect number of connections


i'm trying to write a prog that will keep track of the number of connections there are to your computer (say the number of people connected to your ftp server for example). how do i go about doing this?
Reply With Quote
  #2  
Old 09-05-2003, 07:43 PM
Phantasmagoria Phantasmagoria is offline
Centurion
 
Join Date: May 2003
Posts: 131
Default

Have an integer variable that is incremented with each _ConnectionRequest() event, and decrement when the socket is closed.
__________________
Rule #1: Admin is always right
Rule #2: If Admin is wrong, see Rule #1
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Random Numbers BillSoo Tutors' Corner 9 09-09-2006 12:45 PM
Double variable keeps holding the max Gelali General 7 06-03-2003 08:12 PM
Detect which phone number modem is dialing and optional hangup alexandros1 Communications 2 04-29-2003 08:24 AM
detect number problem nn2000 General 3 04-25-2003 05:03 PM
pacman ghost AI VB6Newbie Game Programming 23 10-10-2002 07:32 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->