C# IP Scanner
-
Hey guys! Can somebody help me to make a Ip scanner for Server and client. And when the Client can connect one IP i want to show me the ip in a TextBox. He should scan all ip´s from x to y and every ip he can connect should he show me in a textbox!
-
Hey guys! Can somebody help me to make a Ip scanner for Server and client. And when the Client can connect one IP i want to show me the ip in a TextBox. He should scan all ip´s from x to y and every ip he can connect should he show me in a textbox!
-
i have seen that scanner. but how can i check all ip´s if i can connect them? I want that i can see all IP´s which i can connect in the textbox but i don´t know how!
-
i have seen that scanner. but how can i check all ip´s if i can connect them? I want that i can see all IP´s which i can connect in the textbox but i don´t know how!
why don't you try connecting to each ip you get. Or are you asking how to get list of ip from textbox
-
why don't you try connecting to each ip you get. Or are you asking how to get list of ip from textbox
"why don't you try connecting to each ip you get." Yes but then he will always connect the same IP! And i want to show me all IP´s which i can connect in a textbox. Then i have a other textbox for the connecting there i enter the Ip(from the textbox where i can see all open ip´s) that i want.
-
"why don't you try connecting to each ip you get." Yes but then he will always connect the same IP! And i want to show me all IP´s which i can connect in a textbox. Then i have a other textbox for the connecting there i enter the Ip(from the textbox where i can see all open ip´s) that i want.
I dont quite follow you, because it is hard to understand.
PC17 wrote:
Yes but then he will always connect the same IP!
Are you feeding him same ip?
PC17 wrote:
And i want to show me all IP
So you use textbox for showing IP? You coud have selected multiline property to true for textbox or did you use ListView or ListBox control for showing? Doues your control shows diffrent ip? Or you use only 2 textboxes that have range of scan?
-
Hey guys! Can somebody help me to make a Ip scanner for Server and client. And when the Client can connect one IP i want to show me the ip in a TextBox. He should scan all ip´s from x to y and every ip he can connect should he show me in a textbox!
-
hello , try to implement this algorithm
//this is not code
foreath(ipaddress ip in GetAllIps()){if( CreateThread(Ping(ip))){
AddToList(ip);
}}
Sorry that you don´t understand me! Maybe that helps! http://yfrog.com/07neuesbild3fp[^] When not write me!