enet-discusshi ,all 

i'm a new to enet,enet lib is smart, i wound like to find  a way to get all the 
alive hosts in a subnet and also nat behind,
is there any demo code or any goods ideas to implemention it? thanksall~

here is of mine:

define a struct while contains host_status message(such 
as:status/ip/mac/disk/cpu.usages...) of the hosts and reply it to the broadcast 
sender, the sender parse it and get the alive information from the received 
struct and list it out......

but i find the may above too complex to do it, is there any easy to accomplish 
/?

my goal just like:
when give a praram to the app:

./enet_util -list -1 -w 1
this means to list all alive hosts which is free(1) whatever in a subnet or nat 
behind ....
 
it given:

ID    HOST IP    HOST NAME    MAC     STATUS        
--------------------------------------------------------------------------------
 
1    192.169.0.1 XXXXXXXXX 99:00:....  FREE

something like that//
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss

Reply via email to