I've added a blog article of my network scanner.
If you need further help let me know.

http://mentalpagingspace.blogspot.com/2009/04/network-monitor-as-windows-service-in.html



On Apr 7, 10:31 am, Junior Junior wangsa <rails-mailing-l...@andreas-
s.net> wrote:
> hi..
>
> i'm new at ruby on rails..
> first i have a table with a column named status(this column use to store
> a status of an access point ("online" or "offline") after my application
> have done pinging the access point)
>
> i use a net-ping library..
>
> how can i update the data in column status "automatically".
> --------------------------------------------------------------------------- 
> ------
>
> can somebody explain this code?
>
>       @nodestat = Node.all.map do |node|{
>           :Status => PingExternal.new(node.ipadd)? "Online" : "Offline"}
>       end
>
> and why the status always "Online"
>
> Any ideas would be very gratefully received!
>
> Thank You.
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to