![]() |
Port scanner in C
Port scanner in C
Code: C
|
Re: Port scanner in C
Can you explain how do I get the following header files. sys/socket.h
|
Re: Port scanner in C
You are opening 20000 connections and you are closing none of them.
You should close connections in your for. Code:
if(err>=0)You should really interpret this values and the print a correct output. (hint: will return 0 on success). You didn't specify the platform. For windows platform is necesary to call WSAStartup, to initialize the winsock library, otherwise you will receive errors from each call made to winsock's API. |
Re: Port scanner in C
Quote:
|
| All times are GMT +5.5. The time now is 14:31. |