Monday, August 11, 2008

080811_2241.22

- soon I will give up for the night, but what I'd like to do is describe my challenge
I want to check what local computers are on via the browser or a program interface and have the option to turn them off

I'd also like to ensure the internet is accessable and, if not avaialable, turn it on by reset or other means (prompt user what to do)

I think the best way to do this is to ping each local computer and set a status vairable dependning on if/how fast they respond

I don't want this to be an app that waits forever to locate a computer...

I'm not really sure where to go from there

in pseudo code:
<code>

For ComputersInList
{
NetStatus[i] = getStatus(computerIP, timeout)
Next ComputerInList
If ComputerInList=0 break
i++
}


while i < NumberOfComputersInList
{
if NetStatus[i] = up
    {
    writeStatusToHTML(ip,status="good")
    }
else
    {
    writeStatusToHTML(ip,status="bad")
    }
i++
}

RefreshStatusDisplay
</code>

java samba - Google Search
AutoHotkey and Thinking Rock - The flow from thought to action. - What's the next action
Listing of directory: /stevesfreeware/
ServerCheck via Alive ping test

No comments: