Click here to Skip to main content
15,893,487 members
Home / Discussions / C#
   

C#

 
GeneralRe: ip iterator code challenge Pin
Ian Shlasko29-Nov-11 16:12
Ian Shlasko29-Nov-11 16:12 
GeneralRe: ip iterator code challenge Pin
acecase29-Nov-11 16:46
acecase29-Nov-11 16:46 
GeneralRe: ip iterator code challenge Pin
Ian Shlasko29-Nov-11 17:00
Ian Shlasko29-Nov-11 17:00 
GeneralRe: ip iterator code challenge Pin
acecase29-Nov-11 17:02
acecase29-Nov-11 17:02 
GeneralRe: ip iterator code challenge Pin
acecase30-Nov-11 6:59
acecase30-Nov-11 6:59 
GeneralRe: ip iterator code challenge Pin
Ian Shlasko30-Nov-11 7:09
Ian Shlasko30-Nov-11 7:09 
AnswerRe: ip iterator code challenge Pin
BillWoodruff29-Nov-11 12:50
professionalBillWoodruff29-Nov-11 12:50 
GeneralRe: ip iterator code challenge Pin
acecase29-Nov-11 14:25
acecase29-Nov-11 14:25 
I'm sorry. I didn't explain well.

The , would be to say this,that (this AND that)
The - would be to say this-that (this TO that) (1-3 = 1,2,3)
The * would be to say all (1-254)
The /xx would be CIDR notation
eg. 192.168.0.0/24 would be 192.168.0.1 with a mask of 255.255.255.0, so it would be 192.168.0.1 - 192.168.0.254
eg2 10.96.248.0/22 would be 10.96.248.1 with a mask of 255.255.252.0, so it would be 10.96.248.1 - 10.96.249.254

Personally I don't know if I would include the option to use something like ; to include multiple ranges, or build with the intention of the user having multiple instances of the class; one for each range.

If you want to see how useful it would be to handle ip ranges this way use nmap, or lookup some nmap examples. It would be a great class for network applications, or even a standalone application that would output text that could be piped to do things like ping sweeps. Windows is greatly lacking in this area.

Thanks for the interest.
2 U.S. coins equal 30 cents and one is NOT a nickle. Hmm..

GeneralRe: ip iterator code challenge Pin
acecase29-Nov-11 14:29
acecase29-Nov-11 14:29 
QuestionDate.Subtract is calculating incorrectly Pin
indian14329-Nov-11 8:24
indian14329-Nov-11 8:24 
AnswerRe: Date.Subtract is calculating incorrectly Pin
OriginalGriff29-Nov-11 8:44
mveOriginalGriff29-Nov-11 8:44 
GeneralRe: Date.Subtract is calculating incorrectly Pin
Luc Pattyn29-Nov-11 14:35
sitebuilderLuc Pattyn29-Nov-11 14:35 
AnswerRe: Date.Subtract is calculating incorrectly Pin
Ian Shlasko29-Nov-11 10:11
Ian Shlasko29-Nov-11 10:11 
AnswerRe: Date.Subtract is calculating incorrectly Pin
jschell30-Nov-11 10:21
jschell30-Nov-11 10:21 
QuestionC# Execution of Java program Pin
Jerry W. Manweiler, Ph.D.29-Nov-11 7:11
Jerry W. Manweiler, Ph.D.29-Nov-11 7:11 
SuggestionRe: C# Execution of Java program Pin
RaviRanjanKr29-Nov-11 8:30
professionalRaviRanjanKr29-Nov-11 8:30 
AnswerRe: C# Execution of Java program Pin
Not Active29-Nov-11 8:42
mentorNot Active29-Nov-11 8:42 
QuestionRe: C# Execution of Java program Pin
Jerry W. Manweiler, Ph.D.29-Nov-11 9:59
Jerry W. Manweiler, Ph.D.29-Nov-11 9:59 
AnswerRe: C# Execution of Java program Pin
Not Active29-Nov-11 10:05
mentorNot Active29-Nov-11 10:05 
GeneralRe: C# Execution of Java program Pin
Jerry W. Manweiler, Ph.D.29-Nov-11 10:06
Jerry W. Manweiler, Ph.D.29-Nov-11 10:06 
GeneralRe: C# Execution of Java program Pin
Not Active29-Nov-11 10:30
mentorNot Active29-Nov-11 10:30 
GeneralRe: C# Execution of Java program Pin
Jerry W. Manweiler, Ph.D.29-Nov-11 10:32
Jerry W. Manweiler, Ph.D.29-Nov-11 10:32 
AnswerRe: C# Execution of Java program Pin
Alan Balkany2-Dec-11 8:51
Alan Balkany2-Dec-11 8:51 
AnswerRe: C# Execution of Java program Pin
jschell29-Nov-11 10:57
jschell29-Nov-11 10:57 
GeneralRe: C# Execution of Java program Pin
Jerry W. Manweiler, Ph.D.29-Nov-11 11:40
Jerry W. Manweiler, Ph.D.29-Nov-11 11:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.