PDA

Click to See Complete Forum and Search --> : [1.0/1.1] Find and Display computers in the network


nvenkat75
Aug 14th, 2006, 08:29 AM
Hi,

i need to display the computers on my network. what i need to do for that.

thanks, :thumb:

Dominator
Aug 21st, 2006, 05:05 AM
I think u need to use Socket class
the software must have the IP map i.e. if ur pc IP is 192.168.1.2, put the IP Map to 192.168.1.XXX

while the XXX will be counter of for loop, the Socket object will try to connect to every IP in the for loop using port 80, if connection established, then this IP alive else that IP not exist,

to ensure that no PC left, and all pcs in ur list, u may delay the time between each connection, i.e. in for loop put thread.sleep or somthing to give the socket chance to connect to remote host.


Hope this help :)