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
多线程DDOS攻击
#include"stdafx.h"#include#include#include#pragmacomment(lib,"
WS2_32.LIB
")typedefstructtag_ip_Header/
lwglucky
·
2010-03-15 02:37
线程
职场
ddos
攻击
休闲
小巧玲珑的网络抓包
#include#include#pragmacomment(lib,"
WS2_32.lib
")typedefstruct_iphdr{ unsignedcharh_lenver; //
ruanjianxiong
·
2010-03-14 01:00
socket
struct
网络
tcp
header
include
使用Code::Blocks编译socket代码需要增加
ws2_32.lib
文件
使用Code::Blocks编译socket代码需要增加
ws2_32.lib
文件在链接库中间增加如下路径,"C:\ProgramFiles\MicrosoftSDKs\Windows\v6.0A\Lib
一天一点
·
2010-03-03 09:00
SOCKET UDP 发送和接受示例代码
头文件以及初始化:#includeusingnamespacestd;//socketheader#include#pragmacomment(lib,"
Ws2_32.lib
")voidmain(){/
icedmilk
·
2010-03-01 15:00
socket
buffer
dll
input
output
基于UDP的socket编程
同时还要链接一个
ws2_32.lib
的库文件。服务器端编程的步骤:1:加载套接字库,创建套接字(WSAStartup()/socket());2:绑定套接字到一个I
tan625747
·
2010-02-28 23:00
TCP接受发送示例
服务端代码: #include#include#pragmacomment(lib,"
Ws2_32.lib
")intmain(){WSADATAWSAData;intret=WSAStartup(MAKEWORD
icedmilk
·
2010-02-02 11:00
socket
tcp
Stream
服务器
最近项目中的Win32开发技巧拾遗
#include#pragmacomment(lib,"
Ws2_32.lib
") classCWinSockGuard{public: CWinSockGuard() { m_bInitOK
colinchan
·
2009-12-21 11:00
thread
windows
function
dll
processing
NetWork
socket UDP网络程序编写
创建套接字(socket)2.向服务器端发送数据(sendto)3.关闭套接字 控制台程序在使用之前须链接库数:工程->设置->Link->输入
ws2_32.lib
Gengoo
·
2009-12-07 10:00
编程
socket
网络
服务器
input
利用Socket实现C++与Flex通信
,03的应该也可以,VC++的可能需要稍微改动))代码如下:#include#include#include#includeusingnamespacestd;#pragmacomment(lib,"
ws2
zhanghefu
·
2009-12-02 19:00
C++
function
socket
Flex
button
encoding
非阻塞WINSOCK
#include"StdAfx.h"#include#include#include#include#include//#include#include#pragmacomment(lib,"
ws2_32
mqwind
·
2009-11-30 11:00
socket获取网页内容
#include #include #include #pragmacomment(lib,"
ws2_32.lib
")voidgeturl(char*url){
jiang1013nan
·
2009-11-29 10:00
发现select做延时windows没效果,Linux正常
在网上搜素下也没发现类似说法,于是我就写了段小测了,果然select延时在windows上缩水了 #include#include#ifdefWIN32#include#pragmacomment(lib,"
ws2
chary8088
·
2009-11-11 08:00
windows
linux
struct
qq
null
跨平台
socket网络通信(udp)
客户端:#include #include #include #include using namespace std; #pragma comment(lib, "
WS2_
stone1116
·
2009-10-29 23:00
socket
网络
服务器
buffer
Sockets
vc++开发通信(1)
一、C++服务器端(根据环境稍加改动)代码如下:#include#include#include#includeusingnamespacestd;#pragmacomment(lib,"
ws2_32
stone1116
·
2009-10-29 22:00
c
Stream
server
socket
服务器
vc++
不使用工具在WINDOWS下获得端口对应的进程名
#include"stdafx.h"#include#include#pragmacomment(lib,"
ws2_32.lib
")typedefstruct_HandleInfo{USHORTwPid
S.l.e!ep.¢%
·
2009-10-26 23:00
获取计算机的名称(方法二)
#include#include#pragmacomment(lib,"
Ws2_32.lib
")#defineINFO_BUFFER_SIZE100intmain(){WORDwVersionRequested
lanseshenhua
·
2009-10-13 10:00
在局域网中实现多播功能
开发环境:VC6.0(sp5),使用winsock2(
ws2_32.lib
) 测试环境:三台
sdlcgxcqx
·
2009-10-12 09:00
编程
socket
server
buffer
include
generation
简单聊天器
project->settings->link在Object/librarymodules:末尾加:
ws2_32.lib
//服务器#include#include#includevoidmain(){
smallmuou
·
2009-09-29 00:00
c++
server端:#include#include#pragmacomment(lib,"
ws2_32.lib
")voidmain(){ //创建套接字 WORDmyVersionRequest; WSADATAwsaData
jiang198701
·
2009-09-24 14:29
C++
职场
休闲
c++
server端:#include#include#pragmacomment(lib,"
ws2_32.lib
")voidmain(){ //创建套接字 WORDmyVersionRequest; WSADATAwsaData
jiang198701
·
2009-09-24 14:29
C++
职场
休闲
c++
server端:#include#include#pragmacomment(lib,"
ws2_32.lib
")voidmain(){//创建套接字WORDmyVersionRequest;WSADATAwsaData
jiang198701
·
2009-09-24 14:29
c++
职场
休闲
C++ Socket UDP "Hello World!"
///////////////////////////////////////////////////UDPServer.cpp#include#include#pragmacomment(lib,"
WS2
wangningyu
·
2009-09-16 23:00
C++
c
socket
server
网络
服务器
#pragma comment(lib, "
ws2_32.lib
") 意义
相当于是把
ws2_32.lib
这个库加入到工程文件中,这同setting中加入库效果一样,但是方便了代码共享时不必加入该库 #pragma comment()扩展转自CSDN在所有的预处理指令中,#Pragma
jungzhang
·
2009-09-16 14:00
c
扩展
语言
编译器
X86
磁盘
ICMP测试延迟!和路由!
//#include"stdafx.h"#include#include#include#include#pragmacomment(lib,"
Ws2_32.lib
")#defineLOCAL_IP"192.168.100.94
jasonm2008
·
2009-09-01 16:00
struct
socket
测试
null
扩展
路由器
字符聊天程序
字符聊天程序#include #include #pragma comment(lib,"
ws2_32.lib
")void main() { WORD wVersionRequested;
梦幻之旅
·
2009-08-19 18:00
字符聊天程序
#include #include #pragma comment(lib,"
ws2_32.lib
")void main() { WORD wVersionRequested; WSADATA
hwpok
·
2009-08-19 18:00
socket
UDP 通信
#include #include #pragma comment(lib,"
ws2_32.lib
")void main() { WORD wVersionRequested; WSADATA
hwpok
·
2009-08-19 18:00
socket
UDP 通信
UDP通信#include #include #pragma comment(lib,"
ws2_32.lib
")void main() { WORD wVersionRequested;
梦幻之旅
·
2009-08-19 18:00
TCP通信
TCP通信#include #include #pragma comment(lib,"
ws2_32.lib
")void main() { WORD wVersionRequested;
梦幻之旅
·
2009-08-19 18:00
TCP通信
#include #include #pragma comment(lib,"
ws2_32.lib
")void main() { WORD wVersionRequested; WSADATA
hwpok
·
2009-08-19 18:00
socket
SOCKET
SOCKET#include #include #pragma comment(lib,"
ws2_32.lib
")void main(){ WORD wVersionRequested; WSADATA
梦幻之旅
·
2009-08-19 18:00
SOCKET
#include #include #pragma comment(lib,"
ws2_32.lib
")void main(){ WORD wVersionRequested; WSADATA
hwpok
·
2009-08-19 18:00
socket
socket 套接字
基于UDP采用的数据报套接字(SOCK_DGRAM).1.TCP流式套接字的编程步骤在使用之前须链接库函数:工程->属性->连接器->输入->附加依赖项.
ws2_32.lib
,OK!
yaneng
·
2009-08-18 09:00
编程
socket
Stream
服务器
input
Sockets
UDP Socket编程 C/C++
//services#pragma comment (lib,"
ws2_32.lib
") #include #include void main() {
方恨少
·
2009-08-04 11:00
微软ping程序源代码完整版
另外需要注意的是在Build之前,必须加入
ws2_32.lib
库文件
老马驿站
·
2009-07-23 16:00
字符聊天程序
字符聊天程序#include #include #pragma comment(lib,"
ws2_32.lib
")void main() { WORD wVersionRequested;
有容乃大 无欲则刚
·
2009-07-22 00:00
C++ TCP 通信
C++TCP通信#include #include #pragma comment(lib,"
ws2_32.lib
")void main() { WORD wVersionRequested;
有容乃大 无欲则刚
·
2009-07-21 20:00
C++ UDP 通信
C++UDP通信#include #include #pragma comment(lib,"
ws2_32.lib
")void main() { WORD wVersionRequested;
有容乃大 无欲则刚
·
2009-07-21 20:00
VC视频教程笔记(第14课)
page=1 作者:虎非龙 第14课 网络编程 1.TCP流式套接字的编程步骤 在使用之前须链接库函数:工程->设置->Link->输入
ws2_32.lib
,OK!
lampeter123
·
2009-07-19 19:00
thread
编程
socket
vc++
Socket
Socket#include #include #pragma comment(lib,"
ws2_32.lib
")void main(){ WORD wVersionRequested; WSADATA
有容乃大 无欲则刚
·
2009-07-16 22:00
利用Socket实现C++与Flex通信
,03的应该也可以,VC++的可能需要稍微改动))代码如下:#include#include#include#includeusingnamespacestd;#pragmacomment(lib,"
ws2
thinkinginmind
·
2009-07-08 12:07
C++
socket
职场
休闲
利用Socket实现C++与Flex通信
,03的应该也可以,VC++的可能需要稍微改动))代码如下:#include#include#include#includeusingnamespacestd;#pragmacomment(lib,"
ws2
thinkinginmind
·
2009-07-08 12:07
C++
socket
职场
休闲
简单的 C++ SOCKET编程 ---基于TCP/IP协议
server端:#include#include#pragmacomment(lib,"
ws2_32.lib
")voidmain(){ //创建套接字 WORDmyVersionRequest; WSADATAwsaData
thinkinginmind
·
2009-07-07 13:50
职场
休闲
简单的 C++ SOCKET编程 ---基于TCP/IP协议
server端:#include#include#pragmacomment(lib,"
ws2_32.lib
")voidmain(){ //创建套接字 WORDmyVersionRequest; WSADATAwsaData
thinkinginmind
·
2009-07-07 13:50
职场
休闲
一个包含详细注释的扫描器C源代码
#defineszSign"50013/r/nServer:Microsoft-IIS/5.0"//根据此标志来检查目标是否有漏洞#pragmacomment(lib,"
ws2_32.lib
")////
gfsuper_2211
·
2009-07-06 16:00
C/C++ PING code
其实不换也可以C/C++code #include #include #include #include #pragma comment(lib,"
ws2
dongfangyu
·
2009-07-03 15:00
程序实例(1) ---- chating room
服务器:#include #include #pragma comment (lib, "
Ws2_32.lib
")using namespace std;char SER
大胖的部落格
·
2009-07-02 20:00
控制台聊天程序实例
服务器端程序代码: //2009-06-28#pragmacomment(lib,"
ws2_32.lib
")#include#include#includeusingnamespacestd;stringstrCurMsg
lightlater
·
2009-06-28 15:00
Stream
socket
System
input
聊天
stdstring
CP Socket编程 C/C++实现 (Windows Platform SDK)
以前一直用OO语言,现在用C语言写着玩,思想上有点转不过来弯,o(∩_∩)o...Server:#pragmacomment(lib,"
ws2_32.lib
") #include #include
dongzhiquan
·
2009-06-27 10:00
编程
windows
socket
function
Stream
服务器
Socket(一) ---- 基础知识
Socket(一)----基础知识Winsock使用前需要加载响应的Winsock库,例如:#include #pragma comment (lib, "
Ws2_32.lib
")Winsock库在使用前需要用
大胖的部落格
·
2009-06-26 14: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
其他