I have decided i would like to try and make a portscanner using winsock. I have a little experience with network programming, but only basic sending and recieving messages. If i understand correctly could i check for a ports status by just simply trying to connect to it, if i get an error- it's closed?
Is this how 'good' portscanners work? or do they do something far more intelligent than i could ever imagine?
i look forward to any responses, hints and tips you can give me.