-
socket 网络通信 控制台程序 测试通过
socket 网络通信 控制台程序 测试通过
#include
#include
#pragma comment(lib, "ws2_32.lib")
void main()
{
WORD wVersionRequested;
WSADATA wsaData;//WSAata用来存储系统传回的关于WinSocket的资料。
int err;
wVersionRequested = MAKEWORD( 1, 1 );
err = WSAStartup( wVersionRequested, &wsaData );
if ( err != 0 ) {
return;
}
if ( LOBYTE( wsaData.wVersion ) != 1 ||HIBYTE( wsaData.wVersion ) != 1 )
{
WSACleanup( );
return;
}
SOCKET sockClient=socket(AF_INET,SOCK_STREAM,0);// AF_INET ..tcp连接
//初始化连接与端口
- 2023-07-26 07:35:05下载
- 积分:1
-
发送ARP包的控制台程序,简单易懂
发送ARP包的控制台程序,简单易懂-ARP packets sent to the console procedures, simple
- 2022-02-06 17:45:10下载
- 积分:1
-
论坛建站的源代码,可直接运行执行,方便在自己主机上建立局域网共享的论坛...
论坛建站的源代码,可直接运行执行,方便在自己主机上建立局域网共享的论坛-Forum建站source code can be directly run the implementation to facilitate the establishment of the host in their own local area network sharing forum
- 2022-08-23 20:35:50下载
- 积分:1
-
客户端源代码VisualC++6.0开发。
客户端源代码VisualC++6.0开发。-client source code VisualC 6.0.
- 2022-03-20 15:09:13下载
- 积分:1
-
large voice chat software
大型语音聊天软件-large voice chat software
- 2023-06-12 10:35:04下载
- 积分:1
-
短信网关vc
使用vc++6.0实现 cmpp3.0的通讯协议,完成短信数据提交到网关。
包含 cmpp.h协议的标准,以及socket线程,基于tcp/ip基础上完成。
- 2023-02-15 00:20:04下载
- 积分:1
-
Pretty small loading control, with a time of new on the list
漂亮的loading小控件,用的时候new一个就行了-Pretty small loading control, with a time of new on the list
- 2022-05-21 12:43:05下载
- 积分:1
-
这是关于DHCP的样本
this is sample about DHCP-agent
- 2022-09-19 00:45:03下载
- 积分:1
-
socketio for client
socketio for client socketio for client socketio for client socketio for client
- 2022-06-28 22:52:15下载
- 积分:1
-
此程序是一个通过WINSOKET来编写的程序,和用到了串口编程,实现计算发送信息量是多少。...
此程序是一个通过WINSOKET来编写的程序,和用到了串口编程,实现计算发送信息量是多少。-this procedure is a WINSOKET through the procedures to prepare, and used the serial programming, achieve this calculation is the amount of information.
- 2023-08-03 02:10:03下载
- 积分:1