Click here to Skip to main content
13,347,998 members (69,360 online)
Click here to Skip to main content


99 bookmarked
Posted 27 Oct 2001

How to write a simple but effective TCP/IP port scanner for Win32

, 27 Oct 2001
An article on how to write a TCP/IP port scanner with a GUI, based on the MFC's property sheet paradigm
	Elimina i warning scassacazzi del VC++ 4.2 (da includere solo nei .c/.cpp).
	Luca Piergentili, 13/08/96
#ifndef _PRAGMA_H
#define _PRAGMA_H 1

#if defined(_MSC_VER)
  #ifdef _DEBUG
    #pragma message("\t\t\t"__FILE__" included: warnings disabled")

    #pragma warning(disable:4100) /* unreferenced formal parameter */
    #pragma warning(disable:4102) /* unreferenced label */
    #pragma warning(disable:4115) /* named type definition in parentheses */
    #pragma warning(disable:4127) /* conditional expression is constant */
    #pragma warning(disable:4131) /* uses old-style declarator */

    #pragma warning(disable:4305) /* abstract declarator : truncation from '...' to '...' */

    #pragma warning(disable:4201) /* nonstandard extension used : nameless struct/union */
    #pragma warning(disable:4206) /* nonstandard extension used : translation unit is empty */
    #pragma warning(disable:4214) /* nonstandard extension used : bit field types other than int */
    #pragma warning(disable:4244) /* conversion from 'int' to 'unsigned short', possible loss of data */

    #pragma warning(disable:4505) /* unreferenced local function has been removed */
    #pragma warning(disable:4514) /* unreferenced inline function has been removed */


#endif /* _PRAGMA_H */

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Luca Piergentili
Web Developer
Italy Italy
I like C and C++, Acid Jazz, James Brown, gli Spaghetti Aglio e Olio, alla Bolognesa, alla Puttanesca e le Fettuccine alla Matriciana ('Maccaroni' over the world). Of course I like beautiful big tits girls too, my little car, Frank Zappa, the art of Zen, italian coffee and much more...

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.180111.1 | Last Updated 28 Oct 2001
Article Copyright 2001 by Luca Piergentili
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid