Results 1 to 6 of 6

Thread: Showing Blinking LED Indicator While Internet Connection is being used.

  1. #1

    Thread Starter
    Lively Member iataman's Avatar
    Join Date
    Jun 2000
    Location
    Turkey
    Posts
    71

    Question

    Hello World,

    You know, if you are connected to internet via modem, you can see those blinking cute(!) LEDs while sending or recieving data. But I have a static ip and connect to the internet through a server so I can not see what the hell is going on!

    Please help me to make my own code of those blinking LEDs. I can use the Shell_NotifyIcon func. so there is no problem about the interface but i don't know how do wake up an event when data is sent or recieved.

    Thanks in Advance.

    ------------------------------------------------------------
    While YourAge<=40
    Live(Your Life)
    Wend

  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    Try hooking some of the stuff in WSOCK32.DLL

    That's where all the internet crap for the blinky lights is kept, I believe.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  3. #3

    Thread Starter
    Lively Member iataman's Avatar
    Join Date
    Jun 2000
    Location
    Turkey
    Posts
    71

    Arrow

    Tnx, logic is understood but how?!
    While YourAge<=40
    Live(YourLife)
    Wend

  4. #4

    Thread Starter
    Lively Member iataman's Avatar
    Join Date
    Jun 2000
    Location
    Turkey
    Posts
    71
    Is there a way of doing it with the winsock control?
    While YourAge<=40
    Live(YourLife)
    Wend

  5. #5
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    No, I think you need to use SetWindowsHook etc to watch messages going through WSOCK32. I think.
    Personally, I've never done this, but I think you should be able to get it to work, at least from all the theories I've read on the stuff.

    Hope that helps you out.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  6. #6

    Thread Starter
    Lively Member iataman's Avatar
    Join Date
    Jun 2000
    Location
    Turkey
    Posts
    71
    Ok I'll try...
    But SetWindowHookEx looks a litle bit complicated..
    If I can solve it, i'll post it..
    tnx again
    While YourAge<=40
    Live(YourLife)
    Wend

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