Click here to Skip to main content
16,006,709 members
Home / Discussions / C#
   

C#

 
AnswerRe: Need to improve oops concepts Pin
wizardzz8-Aug-12 5:29
wizardzz8-Aug-12 5:29 
QuestionList all the open ports Pin
sarang_k7-Aug-12 20:41
sarang_k7-Aug-12 20:41 
AnswerRe: List all the open ports Pin
Wayne Gaylard7-Aug-12 20:49
professionalWayne Gaylard7-Aug-12 20:49 
GeneralRe: List all the open ports Pin
Pete O'Hanlon8-Aug-12 1:36
mvePete O'Hanlon8-Aug-12 1:36 
GeneralRe: List all the open ports Pin
Wayne Gaylard8-Aug-12 3:33
professionalWayne Gaylard8-Aug-12 3:33 
AnswerRe: List all the open ports PinPopular
Ed Hill _5_7-Aug-12 23:17
Ed Hill _5_7-Aug-12 23:17 
GeneralRe: List all the open ports Pin
OriginalGriff8-Aug-12 0:18
mveOriginalGriff8-Aug-12 0:18 
AnswerRe: List all the open ports PinPopular
Pete O'Hanlon8-Aug-12 1:46
mvePete O'Hanlon8-Aug-12 1:46 
What you are trying to achieve here is a port scanner. This[^] article should give you a decent head start - but there are a couple of things to be aware of.

1. If you are scanning all ports, you should consider running the checks via multiple threads. The reason for this is because checking a port is a time consuming process.
2. Just because the list identifies that a port is free, it doesn't mean that the port will be free when you come to request it. Another application could have taken that port before you get to it, so don't consider that the list is definitive.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

AnswerRe: List all the open ports Pin
jschell10-Aug-12 12:31
jschell10-Aug-12 12:31 
Generala better way to make, and populate, a List<Type> ? Pin
BillWoodruff7-Aug-12 16:34
professionalBillWoodruff7-Aug-12 16:34 
GeneralRe: a better way to make, and populate, a List<Type> ? Pin
PIEBALDconsult7-Aug-12 16:54
mvePIEBALDconsult7-Aug-12 16:54 
GeneralRe: a better way to make, and populate, a List ? Pin
BillWoodruff7-Aug-12 18:06
professionalBillWoodruff7-Aug-12 18:06 
GeneralRe: a better way to make, and populate, a List ? Pin
BillWoodruff9-Aug-12 8:35
professionalBillWoodruff9-Aug-12 8:35 
GeneralRe: a better way to make, and populate, a List ? Pin
PIEBALDconsult9-Aug-12 12:16
mvePIEBALDconsult9-Aug-12 12:16 
GeneralRe: a better way to make, and populate, a List ? Pin
SledgeHammer017-Aug-12 18:58
SledgeHammer017-Aug-12 18:58 
GeneralRe: a better way to make, and populate, a List ? Pin
PIEBALDconsult8-Aug-12 3:32
mvePIEBALDconsult8-Aug-12 3:32 
GeneralRe: a better way to make, and populate, a List ? Pin
DaveyM698-Aug-12 23:10
professionalDaveyM698-Aug-12 23:10 
GeneralRe: a better way to make, and populate, a List ? Pin
Pete O'Hanlon9-Aug-12 0:51
mvePete O'Hanlon9-Aug-12 0:51 
QuestionGet Variable Type from String Pin
eddieangel7-Aug-12 11:16
eddieangel7-Aug-12 11:16 
GeneralRe: Get Variable Type from String Pin
PIEBALDconsult7-Aug-12 13:18
mvePIEBALDconsult7-Aug-12 13:18 
GeneralRe: Get Variable Type from String Pin
BillWoodruff7-Aug-12 16:38
professionalBillWoodruff7-Aug-12 16:38 
GeneralRe: Get Variable Type from String Pin
SledgeHammer017-Aug-12 18:55
SledgeHammer017-Aug-12 18:55 
GeneralRe: Get Variable Type from String PinPopular
SledgeHammer017-Aug-12 18:52
SledgeHammer017-Aug-12 18:52 
GeneralRe: Get Variable Type from String Pin
PIEBALDconsult8-Aug-12 3:46
mvePIEBALDconsult8-Aug-12 3:46 
AnswerRe: Get Variable Type from String Pin
Shameel8-Aug-12 4:49
professionalShameel8-Aug-12 4:49 

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.