文件名称:client
- 所属分类:
- Internet/网络编程
- 资源属性:
- 上传时间:
- 2012-11-26
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- 姬**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
服务器端口监听,实现端口的实时监听-#include <winsock2.h>
#include <stdio.h>
#include <stdlib.h>
int TCount = 0 //MAX Thread numbers
int ThreadNumber = 0 //Realtime thread numbers
WORD PORT = 139 //PORT to scan
HANDLE ThreadEvent
HANDLE FinishEvent
BOOL FastMode = FALSE
char startaddr[ 32 ]
char endaddr[ 32 ]
//-----------------------------------------------------------------------------
// Name: SaveRecord
// Desc: Log the useful informations
//-----------------------------------------------------------------------------
void SaveRecord( LPSTR fmt, ... )
{
char buff[ 256 ]
wvsprintf( buff, fmt, (LPSTR)(&fmt+1)
#include <stdio.h>
#include <stdlib.h>
int TCount = 0 //MAX Thread numbers
int ThreadNumber = 0 //Realtime thread numbers
WORD PORT = 139 //PORT to scan
HANDLE ThreadEvent
HANDLE FinishEvent
BOOL FastMode = FALSE
char startaddr[ 32 ]
char endaddr[ 32 ]
//-----------------------------------------------------------------------------
// Name: SaveRecord
// Desc: Log the useful informations
//-----------------------------------------------------------------------------
void SaveRecord( LPSTR fmt, ... )
{
char buff[ 256 ]
wvsprintf( buff, fmt, (LPSTR)(&fmt+1)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
client