<HTML><HEAD><TITLE>Mail</TITLE>
<META name=GENERATOR
content="KsDHTMLEDLib.ocx, FreeWare HTML Editor 1.164.2, ?Kurt Senfer">
<META content="text/html; charset=GB2312" http-equiv=Content-Type></HEAD>
<BODY style="FONT-FAMILY: ÐÂËÎÌå; FONT-SIZE: 9pt" leftMargin=5 topMargin=5 #ffffff>
<DIV>enet-discusshi ,all </DIV>
<DIV> </DIV>
<DIV>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,</DIV>
<DIV>is there any demo code or any goods ideas to implemention it?
thanksall~</DIV>
<DIV> </DIV>
<DIV>here is of mine:</DIV>
<DIV> </DIV>
<DIV>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......</DIV>
<DIV> </DIV>
<DIV>but i find the may above too complex to do it, is there any
easy to accomplish /?</DIV>
<DIV> </DIV>
<DIV>my goal just like:</DIV>
<DIV>when give a praram to the app:</DIV>
<DIV> </DIV>
<DIV>./enet_util -list -1 -w 1</DIV>
<DIV>this means to list all alive hosts which is free(1) whatever in a
subnet or nat behind ....</DIV>
<DIV> </DIV>
<DIV>it given:</DIV>
<DIV> </DIV>
<DIV>ID HOST IP HOST
NAME MAC STATUS </DIV>
<DIV>-------------------------------------------------------------------------------- </DIV>
<DIV>1 192.169.0.1 XXXXXXXXX 99:00:.... FREE</DIV>
<DIV> </DIV>
<DIV>something like that//</DIV></BODY></HTML>