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
windows socket
#pragmaonce #pragmacomment(lib,"
Ws2_32.lib
") #include #defineBUFFER_SIZE1024 #defineIP_ADDRESS_BUFFER_LEN15
ybjx111
·
2012-06-13 15:00
Window和Linux下Socket的区别
netinet/in.h(大部分都在这儿),unistd.h(close函数在这儿),sys/socket.h(在in.h里已经包含了,可以省了)2)初始化windows下需要用WSAStartup启动
Ws2
lw370481
·
2012-06-12 13:00
多线程
linux
windows
socket
server
编译器
一个ip多端口通信
服务端:#include#include#pragmacomment(lib,"
ws2_32.lib
")#include//=========基于TCP聊天程序=====//服务器端voidmain()
wangluozhangleilei
·
2012-06-05 17:00
实现对HTTP协议工作过程的模拟
#include#include#include#include#pragmacomment(lib,"
Ws2_32.lib
")usingnamespacestd;intmain(){ SOCKETsock
fengzhishang2019
·
2012-06-05 16:00
工作
socket
null
buffer
include
FP
Qt链接
Ws2_32.lib
vs2008下是在链接器下空格+
Ws2_32.lib
能解决问题qt是在pro文件中加入 LIBS+=-lWs2_32 即可解决问题
zengcccc
·
2012-05-30 11:00
qt
WinSocket API
#include#pragmacomment(lib,"
ws2_32.lib
") //2.0版本#include#pragmacomment(lib,"
hgy2011
·
2012-05-30 00:00
api
socket
网络
服务器
网络协议
Sockets
Windows XP多网卡tcp传输
c++写的简单的多个网卡绑定测试客户端#include #include #include #include #pragmacomment(lib,"
ws2_32.lib
") inttarPort
wuzh1230
·
2012-05-29 17:00
socket
tcp
多网卡传输
IP地址CString和DWORD转换(转)
#pragmacomment(lib,"
ws2_32.lib
")#include//将CString型IP地址在IPAddressCtrl中显示CStringstrIP="192.168.0.10";DWORDdwIP
a8082649
·
2012-05-28 20:00
8_1――非阻塞模式(ioctlsocket)
//Server.cpp #include #include //winsock.h (2种套接字版本) #pragma comment(lib,"
ws2
青乡之b
·
2012-05-24 15:30
comment
8_1——非阻塞模式(ioctlsocket)
//Server.cpp #include #include //winsock.h (2种套接字版本) #pragma comment(lib,"
ws2_32.lib
")
青乡之b
·
2012-05-24 15:30
comment
Windows网络编程
Winsock编程示例收录
://www.cnblogs.com/karying/archive/2009/12/14/2015391.html服务器端#include #include #pragmacomment(lib,"
ws2
ciaos
·
2012-05-22 14:00
编程
linux
socket
Stream
网络
服务器
windowsSocket编程学习(2):一个简单的Socket程序
#include#include//使用Winsock 2.2 版本#pragma comment (lib,"
ws2_32.lib
")#includeusing namespace std;int main
C小加
·
2012-05-21 09:00
扫描子网中的地址+Pings模拟
CalculateSubnet.cpp--计算指定子网内包含的所有的IP地址 #include"Winsock2.h" #include #include #pragmacomment(lib,"
Ws2
neicole
·
2012-05-19 19:00
socket
struct
String
Integer
iterator
buffer
socket 互相通信
//Server.cpp #pragmacomment(lib,"
ws2_32.lib
") #include #include usingnamespacestd; #definePORT4000
MY_RENZHIBO
·
2012-05-18 16:00
windows
struct
socket
null
Path
winapi
简单的 C++ SOCKET编程 ---基于TCP/IP协议
server端:#include #include #pragmacomment(lib,"
ws2_32.lib
") voidmain() { //创建套接字 WORDmyVersionRequest;
boylinux
·
2012-05-17 12:00
getaddrinfo函数
函数#include #include #include #include #ifdef WIN32 #include #include #pragma comment(lib,"
Ws2
天下
·
2012-05-15 16:00
tcp communication btw c# and C++
2011-4-1209:43提问者: lisiliang06 | 浏览次数:582次#include #include #include #pragmacomment(lib,"
Ws2_32.lib
"
yum2006
·
2012-05-15 15:00
Stream
tcp
socket
server
C#
File
netstat 源码(占个地方)
include"Iphlpapi.h" #include #include #include #pragmacomment(lib,"Iphlpapi.lib") #pragmacomment(lib,"
ws2
yatere
·
2012-05-12 21:00
tcp
struct
null
System
buffer
include
一个syn c源码
#include #include #include #pragmacomment(lib,"
ws2_32.lib
") #defineSEQ0x28376839 intthreadnum,maxthread
yatere
·
2012-05-04 17:00
Socket I/O模型之重叠I/O(overlapped I/O)--完成例程方式
#include "stdafx.h" #include #include #pragma comment(lib, "
ws2_32.lib
") #define PORT 5150 #
qiulinwoaini
·
2012-05-04 11:00
socket
IO
Stream
null
library
asynchronous
Socket I/O模型之重叠I/O(overlapped I/O)--事件通知
#include "stdafx.h" #include #include #pragma comment(lib, "
ws2_32.lib
") #define PORT 5150 #define
qiulinwoaini
·
2012-05-04 11:00
socket
IO
Stream
null
library
asynchronous
Socket 网络模型之Select篇
"stdafx.h" #include #include #define PORT 5150 #define MSGSIZE 1024 #pragma comment(lib, "
ws2
qiulinwoaini
·
2012-05-04 11:00
thread
网络
socket
Stream
null
library
利用socket做的帮室友找对象小软件
socket的通信,今天想在windows下面再用SDK重新写一遍下面先附张图片来看看整个框架:然后自己先在控制台下实现:服务器端:#include #include #pragmacomment(lib,"
ws2
gaoxin1076
·
2012-04-29 22:00
windows
socket
null
callback
button
border
C++ Socket 网络编程
过程:入门级的测试程序1、客户端代码 #include #include #pragmacomment(lib,"
ws2_32.lib
") /** *TCP客户端 */ voidmain
ileson
·
2012-04-25 15:00
C++
socket
UDP传输系统——C语言实现
代码如下://preprocessing.h#pragmacomment(lib,"
ws2_32.lib
")#include#include#include#include#defineMCASTADDR
chenhuijie666
·
2012-04-23 14:00
C++中连接MySql数据库
文件夹和include文件夹////将libmysql.dll拷贝到bin文件夹中,否则执行时出错;#include#include#include#include#pragmacomment(lib,"
ws2
Heaven13483
·
2012-04-21 00:00
C++
mysql
null
insert
include
library
#pragma comment和#pragma 预处理指令详解
例如,#pragma comment(lib,"
Ws2_32.lib
")表示链接
Ws2_32.lib
这个库。
wfq_1985
·
2012-04-13 10:00
winpcap 枚举网络设备
//#include"stdafx.h" #pragmacomment(lib,"
ws2_32.lib
")#ifdef_MSC_VER/* *wedonotwantthewarningsabouttheolddeprecatedandunsecureCRTfunctions
jingshishengxu
·
2012-04-09 15:00
使用WinPcap抓包分析网络协议
include"pcap.h" #include #pragmacomment(lib,"wpcap.lib") #pragmacomment(lib,"packet.lib") #pragmacomment(lib,"
ws2
luxiaoxun
·
2012-04-06 15:00
String
struct
header
网络协议
callback
interface
简单的UDP回射服务程序与客户程序(修改自Unix网络编程一书)
#include #include"InitSock.h" #include #include #include #include #pragmacomment(lib,"
ws2
gzzheyi
·
2012-03-30 01:00
windows下socket开发tcp程序 简单例子
/listenport9102 //receivestringanddisplayit //VisualC++6.0 #include #include #pragmacomment(lib,"
ws2
trbbadboy
·
2012-03-29 17:00
windows
String
Stream
socket
tcp
服务器
windows下socket开发udp程序
/listenport9102 //receivestringanddisplayit //VisualC++6.0 #include #include #pragmacomment(lib,"
ws2
trbbadboy
·
2012-03-28 20:00
windows
struct
socket
String
服务器
UP
Tcp
代码注释,如下: #include #include #pragma comment(lib,"
WS2_32.lib
") #define BUF_SIZE 64
青乡之b
·
2012-03-21 16:23
职场
64
comment
休闲
Tcp
基于连接的Tcp编程.代码注释,如下:#include #include #pragma comment(lib,"
WS2_32.lib
") #define BUF_SIZE 64 int main
青乡之b
·
2012-03-21 16:23
职场
休闲
64
VC++下的网络编程
Udp
基于无连接的Udp编程.代码注释,如下://Server.cpp #include #include #pragma comment(lib,"
WS2_32.lib
") #define BUF_SIZE
青乡之b
·
2012-03-21 15:18
职场
编程
休闲
VC++下的网络编程
Udp
基于无连接的Udp编程.代码注释,如下: //Server.cpp #include #include #pragma comment(lib,"
WS2_32.lib
")
青乡之b
·
2012-03-21 15:18
编程
职场
comment
休闲
VC++多线程tcp connect扫描
#include#include#include#pragmacomment(lib,"
ws2_32.lib
")char*host;intthreadnum,maxthread,totalport;longnowport
junwong
·
2012-03-09 16:00
VC++实现局域网嗅探QQ号
#include#include#pragmacomment(lib,"
ws2_32.lib
") #include#include#pragmacomment(lib,"rasapi32.lib")#
junwong
·
2012-03-09 16:00
vc++实现文件传送
发送#include#include#pragmacomment(lib,"
ws2_32.lib
")voidmain(){//初始化 WSADATAwsaData; intiResult=WSAStartup
junwong
·
2012-03-09 16:00
vc++实现网路嗅探
#include#include#include#pragmacomment(lib,"
ws2_32.lib
")#defineSIO_RCVALL_WSAIOW(IOC_VENDOR,1)structIPHEAD
junwong
·
2012-03-09 16:00
VC++实现SYN扫描
#include#include#include#include#include"mstcpip.h"#pragmacomment(lib,"
ws2_32.lib
")#defineSEQ0x28376839SOCKETsockRaw
junwong
·
2012-03-09 16:00
vc++反向连接后门
#include#include#pragmacomment(lib,"
ws2_32.lib
")voidmain(intargc,char**argv){char*messages="/r/n=====
junwong
·
2012-03-09 16:00
VC++实现多线程ddos
#include#include#include#pragmacomment(lib,"
ws2_32.lib
")#defineSEQ0x28376839intthreadnum,maxthread,port
junwong
·
2012-03-09 16:00
vc++telnet远程登录
#include#pragmacomment(lib,"
ws2_32.lib
")#pragmacomment(lib,"kernel32.lib")#definePORT90SOCKETServerSocket
junwong
·
2012-03-09 16:00
vc++实现无进程无DLL无硬盘文件无启动项的ICMP后门后门程序
客户端 #include#include#include#pragmacomment(lib,"
ws2_32.lib
")charSendMsg[256];/*TheIPheader*/typedefstructiphdr
junwong
·
2012-03-09 16:00
vc++网络安全编程范例(20)木马防范检测数据端口与进程
我们来用VC++实现检测数据端口与进程,请见代码实现与注释讲解#include #include #include #include #pragmacomment(lib,"
ws2_32.lib
")
junwong
·
2012-03-09 16:00
客户端与服务器端 socket通信示例代码
Server.cpp#include#include#pragmacomment(lib,"
ws2_32.lib
")usingnamespacestd;#defineBUFSIZE64#definePORT9999intmain
hanyuanbo
·
2012-02-28 09:00
socket
c++
code
winsock2
基于TCP的socket编程(转载)
要链接一个
ws2_32.lib
的库文件。服务器端编程的步骤:1:加载套接字库,创建套接字(WSAStartup()/socket());2:绑定套接字到一
xxglyy
·
2012-02-26 14:00
socket编程原理
要链接一个
ws2_32.lib
的库文件。服务器端编程的步骤:1:加载套接字库,创建套接字(WSAStartup()/socket());2:绑定套接字到一
xxglyy
·
2012-02-24 22:00
如何创建一个libjingle程序
std::coutLinker->IgnoreSpecificLibrary"里设置下2012-2-21然后继续错误,根据错误google,添加winmm.lib 剩103错误添加
ws2_32.lib
txdb
·
2012-02-17 10:00
thread
Google
library
login
XMPP
linker
上一页
14
15
16
17
18
19
20
21
下一页
按字母分类:
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
其他