-
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
-
< 精通Windows Sockets网络开发
< 精通Windows Sockets网络开发--基于Visual C++实现>> 一书的全部源代码,包括 多线程下载程序、网络五子棋、在线考试系统等五个项目。每个项目都使用不同的socket模型开发(比如select,基于消息、事件的异步模型,重叠i/o,完成端口),对于初学socket网络编程的朋友有极大帮助、、 -" " Proficient in Windows Sockets network development- based on Visual C++ implementation " " a book full source code, including multi-threaded download, network Gobang, online examination system of five projects. Each item using a different socket model development (such as select, based on news, events, asynchronous model, overlapping i/o, complete the port), socket network programming for the beginner a friend of great help,,,
- 2023-05-10 23:20:02下载
- 积分:1
-
类似GetRight的下载工具
类似GetRight的下载工具 -Downloading tool which is like to GetRight
- 2022-02-25 09:05:02下载
- 积分:1
-
电子邮件检查程序
电子邮件检查程序-E-mail inspection procedures
- 2022-11-10 18:55:04下载
- 积分:1
-
VC―网络与通信
VC―网络与通信-VC-networking and communications
- 2023-05-21 18:10:02下载
- 积分:1
-
http协议下对下载的访问网页并对返回的内容进行操作。
http协议下对下载的访问网页并对返回的内容进行操作。-under the http protocol to download the return visit to the page content and the interface operation.
- 2022-10-27 14:00:03下载
- 积分:1
-
Html教程,非常详细
Html教程,非常详细-Html Guide, a very detailed
- 2023-07-03 19:40:03下载
- 积分:1
-
一些协议的c语言的例子
一些协议的c语言的例子--Some protocols examples in c language
- 2022-03-23 08:51:41下载
- 积分:1
-
如何异步调用Web Service程序
网络通信程序,异步调用WEB SERVICE程序可以拿来学习 或者工作借鉴一下,VS 编程环境,已经测试通过,
- 2022-01-25 23:12:37下载
- 积分:1
-
visual c 6.0 on the 331 network system, the Internet and friends game. Like play...
基于visual c++6.0 的网络五子棋系统,可以在网上与朋友对弈。喜欢下棋或游戏编程的朋友也可以下载。-visual c 6.0 on the 331 network system, the Internet and friends game. Like playing chess or games programming can be downloaded friends.
- 2022-07-22 10:39:00下载
- 积分:1