   Project help
  I was thinking about making a small project in C or C++.I was thinking of making some type of port scanner. I wanted to your suggestions in this. How should I proceed. Some refrences if possible. What API's I will be needing to scan ports etc..I want to implement 1 stuff at a time. I was thinking of first finding out all the open and closed ports of the system and then rest of the things.   
  I thought about making one too, although I didn't do it but proceeded with a chat server/client. I think ( not sure ) the theory is simply that you try to connect to a given IP address on all ports within a certain port range and then display the results per-port.Until now I have used winsock for all my networking, but berkeley sockets should be more portable (not only windows). I would supply some code that I had in mind about this were it not for the fact that I don't really know what you want to do it with...   