Results 1 to 2 of 2

Thread: Detecting open connections to servers

  1. #1

    Thread Starter
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Download my registry module from my homepage and use this:
    Code:
    Connected=RegVal ("HKEY_DYN_DATA\PerfStats\StatData\Dial-Up Adapter" & vbNullChar & "TotalBytesRecvd") <> String(4, vbNullChar)
    I haven't tested it but it should work, or else you could figure out what it returns when you're offline and then put in on the right side of <>
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  2. #2
    New Member
    Join Date
    May 2000
    Posts
    3

    Umm...

    Hey...thanx but that's not what I need

    I need a program that will list all the IPs I am connected to...

    And also, I tried your code and it doesnt work when your offline... I disconnected my cable modem and tried using it.. it said i was online.

    Anyone else wanna give it a try?

    A program to list the IPs that you are connected to or that are connected to you.


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