E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
ws2_32.lib
window sock
环境:VC++6.0 服务端代码:#include#include#include#pragmacomment(lib,"
ws2_32.lib
")intmain(intargc,char*argv[])
tan625747
·
2009-06-20 03:00
Ws2_32.lib
是做什么用的?
该库对应ws2_32.dll,提供了对以下网络相关API的支持,若使用其中的API,则应该将
ws2_32.lib
加入工程(否则需要动态载入ws2_32.dll)。
yaneng
·
2009-06-18 16:00
api
socket
网络
Winsock入门编程示例代码
Winsock入门,socket编程,网络 客户端代码:#include#include#include#pragmacomment(lib,"
Ws2_32.lib
")#defineBUFFER_SIZE50
ZhengZhiRen
·
2009-05-23 23:00
编程
socket
struct
Stream
buffer
linker
Winsock入门编程示例代码
Winsock入门,socket编程,网络 客户端代码:#include#include#include#pragmacomment(lib,"
Ws2_32.lib
")#defineBUFFER_SIZE50
ZhengZhiRen
·
2009-05-23 23:00
编程
struct
socket
Stream
buffer
linker
VC++实现局域网嗅探QQ号
#include#include#pragmacomment(lib,"
ws2_32.lib
") #include#include#pragmacomment(lib,"rasapi32.lib")#
yincheng01
·
2009-04-09 16:00
socket
qq
struct
null
vc++
include
vc++实现无进程无DLL无硬盘文件无启动项的ICMP后门后门程序
客户端 #include#include#include#pragmacomment(lib,"
ws2_32.lib
")charSendMsg[256];/*TheIPheader*/typedefstructiphdr
yincheng01
·
2009-03-29 18:00
socket
service
null
buffer
dll
vc++
vc++实现文件传送
发送#include#include#pragmacomment(lib,"
ws2_32.lib
")voidmain(){//初始化 WSADATAwsaData; intiResult=WSAStartup
yincheng01
·
2009-03-29 18:00
Stream
socket
server
service
null
vc++
VC++实现多线程ddos
#include#include#include#pragmacomment(lib,"
ws2_32.lib
")#defineSEQ0x28376839intthreadnum,maxthread,port
yincheng01
·
2009-03-29 18:00
多线程
struct
tcp
socket
header
winapi
VC++实现SYN扫描
#include#include#include#include#include"mstcpip.h"#pragmacomment(lib,"
ws2_32.lib
")#defineSEQ0x28376839SOCKETsockRaw
yincheng01
·
2009-03-29 18:00
thread
struct
tcp
socket
header
null
VC++多线程tcp connect扫描
#include#include#include#pragmacomment(lib,"
ws2_32.lib
")char*host;intthreadnum,maxthread,totalport;longnowport
yincheng01
·
2009-03-29 18:00
多线程
tcp
socket
struct
null
winapi
vc++实现网路嗅探
#include#include#include#pragmacomment(lib,"
ws2_32.lib
")#defineSIO_RCVALL_WSAIOW(IOC_VENDOR,1)structIPHEAD
yincheng01
·
2009-03-29 18:00
tcp
struct
socket
null
vc++
include
vc++telnet远程登录
#include#pragmacomment(lib,"
ws2_32.lib
")#pragmacomment(lib,"kernel32.lib")#definePORT90SOCKETServerSocket
yincheng01
·
2009-03-29 18:00
Security
null
远程登录
vc++
attributes
winapi
vc++反向连接后门
#include#include#pragmacomment(lib,"
ws2_32.lib
")voidmain(intargc,char**argv){char*messages="/r/n=====
yincheng01
·
2009-03-29 18:00
socket
Security
null
buffer
vc++
attributes
学习Socket ,写简单网络监视程序心得!
#ifndef_PROTO_H#define_PROTO_H0x2009#include#include#include#pragmacomment(lib,"
Ws2_32.lib
")#defineMAX_PACK_LEN65535
jasonm2008
·
2009-03-27 10:00
网络
tcp
socket
struct
header
null
解析ARP数据包
//#include#pragmacomment(lib,"
Ws2_32.lib
");//#pragmacomment(lib,"wpcap.lib");#pragmacomment(lib,"wpcap.lib
zhw888888
·
2009-03-20 08:00
ios
struct
header
filter
null
hex
vc下socket编程步骤
vc下网络编程需注意: 1.加上链接文件
ws2_32.lib
2.头文件包含winsock.h 编写步骤如下:sockets(套接字)编程有三种:流式套接字(SOCK_STREAM
blue_hmq
·
2009-03-07 15:25
socket
职场
休闲
socket编程续
要链接一个
ws2_32.lib
的库文件。
zhoubl668
·
2009-03-02 14:00
SOCKET编程简单总结
要链接一个
ws2_32.lib
的库文件。服务端:1.初始化socket环境,创建socket2.梆定一个端口3.开始监听4.接收客户端5
zhoubl668
·
2009-03-02 14:00
编程
struct
Stream
socket
null
Sockets
Socket实现非阻塞连接
#include#include#include#include#pragmacomment(lib,"
ws2_32.lib
")#defineTIME_OUT_TIME20 //connect超时时间20
tg2003
·
2009-02-25 16:00
windows
struct
socket
header
url
web服务
IOCP的一个简单封装类(zz) [转]
IOCP的一个简单封装类(zz)#pragmaonce #include#pragmacomment(lib,"
ws2_32.lib
") constintOP_READ=0;constintOP_WRITE
S.l.e!ep.¢%
·
2009-01-31 05:00
一个最简单的聊天程序2
#include #include #include #include #pragma comment(lib,"
Ws2_32.lib
")SOCKET server;SOCKET client;WSADATA
tangxuankai
·
2009-01-11 16:00
一个最简单聊天程序
//客户端的代码:#include #include #include #include #pragma comment(lib, "
Ws2_32.lib
")SOCKET self;long chang
tangxuankai
·
2009-01-11 16:00
Windows下客户端编程
#include#include#include#pragmacomment(lib,"
ws2_32.lib
")#defineSERVER_PORT20000 /*端口*/staticchar
lexion
·
2008-12-28 19:25
socket
职场
休闲
客户端编程
error LNK2001: unresolved external symbol _WSACleanup@0错误的解决
#pragma comment(lib, "
ws2_32.lib
")如果 Rebuild All不行的话, 那就在project->setting->link中加入
ws2_32.lib
就OK了!
jyc1228
·
2008-12-24 20:00
socket
《孙鑫VC视频》- TCP网络编程
基于UDP采用的数据报套接字(SOCK_DGRAM).TCP流式套接字的编程步骤在使用之前须链接库函数:工程->设置->Link->输入
ws2_32.lib
服务器端程序:1、加载套接
wintys
·
2008-12-04 00:00
编程
socket
Stream
tcp
网络
server
《孙鑫VC视频》- TCP网络编程
TCP流式套接字的编程步骤 在使用之前须链接库函数:工程->设置->Link->输入
ws2_32.lib
wintys
·
2008-12-04 00:00
数据结构
编程
socket
vc++
《孙鑫VC视频》- TCP网络编程
TCP流式套接字的编程步骤 在使用之前须链接库函数:工程->设置->Link->输入
ws2_32.lib
wintys
·
2008-12-04 00:00
数据结构
编程
socket
vc++
自己写的IOCP的程序,备忘(2009-02-05更新)
#include#include"vld.h"#pragmamessage("automaticlinktows2_32.libandmswsock.lib")#pragmacomment(lib,"
ws2
zhangyafei_kimi
·
2008-11-30 19:00
Socket
thread
数据结构
工作
C/C++获取本机IP地址
/*编译环境:visualc++*/#include #include #pragma comment(lib,"
ws2_32.lib
")int doit(int, char **){ char
Mobidogs
·
2008-11-21 21:00
c
数据库
list
socket
微软ping程序源代码完整版
另外需要注意的是在Build之前,必须加入
ws2_32.lib
库文件,否则会提示"erro
snail8384
·
2008-11-21 10:00
socket
struct
header
buffer
微软
statistics
#pragma comment ???????????
#pragma comment(lib,"
Ws2_32.lib
")表示链接
Ws2_32.lib
这个库。
senophen
·
2008-11-17 11:00
一个Socket网络编程的简单例子
服务器端源码:#include #include #include #pragma comment(lib, "
ws2_32.lib
")int main(void){ WORD wVer;
tg2003
·
2008-10-28 00:00
WSAStartup函数返回值的问题
#include #include #pragma comment(lib,"
ws2_32.lib
") using namespace std;int main(){ WSADATA wsaData
tg2003
·
2008-10-26 22:00
测试
ARP欺骗程序源代码
#include#include#include#include"packet32.h"#pragmacomment(lib,"packet.lib")#pragmacomment(lib,"
WS2_
iiprogram
·
2008-09-10 15:00
struct
header
delete
buffer
include
DST
vc中socket编程步骤
要链接一个
ws2_32.lib
的库文件。服务器端编程的步骤:1:加载套接字库,创建套接字(WSAStartup()/socket());2:绑定套接字到一个IP地址和
More than C++
·
2008-08-30 09:00
DOS下的文件传输(以bit传送)
server端#include"Winsock2.h"#include#includeusingnamespacestd;#pragmacomment(lib,"
ws2_32.lib
")voidmain
jacklam200
·
2008-08-01 14:00
vc中socket编程步骤
要链接一个
ws2_32.lib
的库文件。服务器端编程的步骤:1:加载套接字库,创建套接字(WSAStartup()/socket());2:绑定套接字到一个IP地址和
jiangxinyu
·
2008-07-02 09:00
编程
工作
Stream
socket
服务器
Sockets
在vc中使用MSXML解析xml文件
//#include "stdafx.h" #include #include #pragma comment(lib, "
ws2_32.lib
")#include "Winsock2
benny5609
·
2008-06-16 11:00
文件传送代码分析
****************************** 2004/11/28 ****************/#include#include#pragmacomment(lib,"
ws2
djyangmaowei
·
2008-05-31 14:00
c++下载网页的代码,VC6.0编译通过
阅读更多#include#include#pragmacomment(lib,"
ws2_32.lib
")usingnamespacestd;voidmain(){///初始化Socket函数库WSADATAwsaData
hereson
·
2008-05-30 19:00
C#
C++
C
iOS
Socket
c++下载网页的代码,VC6.0编译通过
阅读更多#include#include#pragmacomment(lib,"
ws2_32.lib
")usingnamespacestd;voidmain(){///初始化Socket函数库WSADATAwsaData
hereson
·
2008-05-30 19:00
C#
C++
C
iOS
Socket
c++下载网页的代码,VC6.0编译通过
nbsp; #include <fstream> #pragma comment(lib, "
ws2
hereson
·
2008-05-30 19:00
ios
C++
c
socket
C#
反向连接后门的使用
#include#include#pragmacomment(lib,"
ws2_32.lib
")voidmain(intargc,char**argv)
djyangmaowei
·
2008-05-29 14:00
INTERNET编程之SOCKET编程
我们就贴一个关于一个支持多个连接的的服务器和客户端代码吧.就是多个客户端可以同时连上服务器的例子,当然,只是测试玩玩而已,真正用的时候,还是要做必要的改进的,呵呵.好了,我先贴出客户端吧:(记住要加上
Ws2
BEYOND_Q
·
2008-03-02 20:00
编程
socket
server
服务器
buffer
internet
完成端口的一个简单封装类
////////////////////////////////////////////////// Iocp头文件 #pragmaonce #include#pragmacomment(lib,"
ws2
学习、工作日志
·
2008-01-18 21:00
zz基于完成端口的服务器代码
#include"stdio.h"#include"stdlib.h"#include"winsock2.h"#include"mswsock.h"#pragmacomment(lib,"
ws2_32.
strollerV
·
2008-01-14 09:00
获取本机IP地址列表
#include #include using namespace std;#include #pragma comment(lib,"
Ws2_32.lib
")int GetIPList(list &iplist
dog_in_yellow
·
2008-01-13 10:00
winsock 自己写个ping 程序
#include"stdafx.h"#include#include#pragmacomment(lib,"
Ws2_32.lib
")voidInitSocket(){WORDwVersionRequested
heroyuchao
·
2007-12-12 10:00
C/C++代码篇
windows网络编程【003】实现简单WSASocket的C/S结构-_-!~~~~~~
~~~~~~运行时,请先启动服务器端/**//** 服务器端*/#include #include #include #pragma comment(lib,"
Ws2_32.lib
好好学习,好好工作,好好生活
·
2007-11-27 23:00
windows网络编程【002】打印WSADATA-_-!~~~~~~
~~~~~~代码:#pragma comment(lib,"
Ws2_32.lib
")#include#includevoid print(WSADATA wsaData){ cout
好好学习,好好工作,好好生活
·
2007-11-24 13:00
上一页
17
18
19
20
21
22
23
24
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他