473,383 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Get all ip addresses of the computers connected to LAN

hi there!!!
very much newbie to socket progammin in .net. i've try the DNS class to
get the ip addresses but it always returns 1 ip that of my pc though i
got 50 PCs connected to the LAN. i tried everywhere so if anyone have
code for getting all the ip addresses of the PCs. plz copy paste here
so that i can try that out. Plz dont only give suggestions. put some
code. which can b helpful to me. i've already tried many suggestion.
plz dont mind but now i'm frustrate

Nov 21 '05 #1
4 5116
try www.pscode.com

tu************@gmail.com wrote:
hi there!!!
very much newbie to socket progammin in .net. i've try the DNS class to
get the ip addresses but it always returns 1 ip that of my pc though i
got 50 PCs connected to the LAN. i tried everywhere so if anyone have
code for getting all the ip addresses of the PCs. plz copy paste here
so that i can try that out. Plz dont only give suggestions. put some
code. which can b helpful to me. i've already tried many suggestion.
plz dont mind but now i'm frustrate


Nov 21 '05 #2
try this:
http://msdn.microsoft.com/library/de...ClassTopic.asp

tu************@gmail.com wrote:
hi there!!!
very much newbie to socket progammin in .net. i've try the DNS class to
get the ip addresses but it always returns 1 ip that of my pc though i
got 50 PCs connected to the LAN. i tried everywhere so if anyone have
code for getting all the ip addresses of the PCs. plz copy paste here
so that i can try that out. Plz dont only give suggestions. put some
code. which can b helpful to me. i've already tried many suggestion.
plz dont mind but now i'm frustrate


Nov 21 '05 #3
http://www.c-sharpcorner.com/Internet.asp
www.vbip.com

tu************@gmail.com wrote:
hi there!!!
very much newbie to socket progammin in .net. i've try the DNS class to
get the ip addresses but it always returns 1 ip that of my pc though i
got 50 PCs connected to the LAN. i tried everywhere so if anyone have
code for getting all the ip addresses of the PCs. plz copy paste here
so that i can try that out. Plz dont only give suggestions. put some
code. which can b helpful to me. i've already tried many suggestion.
plz dont mind but now i'm frustrate


Nov 21 '05 #4
thanx,supra. that was really helpful. i got wat i needed to develop the
code.

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: zafer | last post by:
We are performing replication between computers that connected via dial-up modems. And we dont know how these computers will connect with sql server at central computer. Automatically or some...
46
by: TTroy | last post by:
Hi, I'm just wondering why people/books/experts say "the function returns a pointer to.." or "we have to send scanf a pointer to.." instead of "the function returns the address of.." or "we have...
1
by: Oshadha | last post by:
Hi all I'm developing an application and need to know how to get all computer names which are connected to a network. I found out that system.directorysrvices name space provides a method to get all...
4
by: Lucky | last post by:
hi there!!! very much newbie to socket progammin in .net. i've try the DNS class to get the ip addresses but it always returns 1 ip that of my pc though i got 50 PCs connected to the LAN. i tried...
3
by: Steve | last post by:
Hi all How would i get a list of all Active Computers on a network? All I need are the computer names. Kind Regards, Steve.
3
by: Chris Noble | last post by:
I need to be able to read and add to the collection of email addesses for an Active Directory User with a mailbox. I assume that this is a collection object. However I can't find any help on which...
1
by: vabh | last post by:
Help from there, i want the IP Address of all computers which are connected in LAN with me. Its really urgent for me. I using one kind of coding which returns me IP Address of only one computer, but...
17
by: John Salerno | last post by:
Let me see if this question even makes sense...I'm reading Core Python Programming and I jumped ahead to the more specific topics like network programming. I plan to follow along with the example...
6
by: belias | last post by:
So...here we go. I'm having an issue with one computer on a network not being able to ping other computers by name. I've spent the last day searching similar issues and I've tried all the steps...
24
by: Asja | last post by:
I have written an application that runs in a kind of peer-to-peer framework. Servers connect to a masterserver, which a client then queries to receive a list of servers. The client selects a server...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.