Socket based network communication is a flexible, easy to implement, low cost method. It can run on a variety of networks that use THE TCP/IP protocol as the communication protocol. So the design in VC++ environment, through the Socket to establish the original Socket, monitoring network traffic, and suspicious data through Access database records, to provide reference for administrators, so as to achieve network security.