-
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
-
Web浏览器
web browser
- 2022-12-13 15:15:03下载
- 积分:1
-
C++客户端版包含了一套完整的C++类库,与客户有关。
The C++ Client Edition contains a full set of C++ class libraries, with client side source code for comprehensive Internet and Intranet application development and enablement. Designed specifically for Visual C++ developers, this kit has the power and flexibility that you demand
- 2022-09-19 11:55:03下载
- 积分:1
-
一个基于windows api 的源程序...有很强的参考价值
一个基于windows api 的源程序...有很强的参考价值-a windows-based api of the source ... a strong reference value
- 2022-01-26 07:03:01下载
- 积分:1
-
用visual c++编写的tcp客户端应用程序
用visual c++编写的tcp客户端应用程序-Using visual c++ Prepared tcp client application
- 2022-08-18 02:03:22下载
- 积分:1
-
网络编程入门。。。如何下载网页内容。。。如果有什么问题欢迎mail交流
网络编程入门。。。如何下载网页内容。。。如果有什么问题欢迎mail交流-Introduction to network programming. . . How to download Web content. . . If you have any questions welcome to mail exchange
- 2022-08-23 00:04:40下载
- 积分:1
-
1, I have written to follow the message gateway SGIP1.1 simulation program. For...
1、自己编写的遵循SGIP1.1的短信网关模拟程序。仅供测试、学习。
2、该程序只实现了SGIP1.1协议的一部分。-1, I have written to follow the message gateway SGIP1.1 simulation program. For testing, learning. 2, the program only to realize the SGIP1.1 part of the agreement.
- 2023-08-28 22:00:02下载
- 积分:1
-
windows sockect实现命令回显
使用服务器监听套接字,然后把从客户端发送的命令执行并把执行结果通过套接字会送给客户端运行时开启套接字信息tcpSer.exe客户端为:tcpCli.exe ip command
- 2022-07-22 05:04:11下载
- 积分:1
-
Shell 远程
演示如何向远程计算机使用 Winsock API (WSA) 和 CreateProcess () 函数返回一个外壳。我发现有趣的技术,决定写这篇来修复迄今被忽略,并要知道的东西。Let 的中看到代码:
- 2022-07-04 15:36:51下载
- 积分:1
-
多网卡网络流量图形显示工具,c++编程。
多网卡网络流量图形显示工具,c++编程。-network traffic over Ethernet graphics tools, c programming.
- 2023-06-06 13:25:03下载
- 积分:1