![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
VC
文章平均质量分 77
lxmnet123
这个作者很懒,什么都没留下…
展开
-
vc网络编程
Vc网络编程应用 一、 基于TCP IP 客户端程序: 要加载ws2_32.lib #include #include void main() { WORD wVersionRequested; WSADATA wsaData; wVersionRequested = MAKEWORD( 1, 1); int err =原创 2014-02-28 19:36:58 · 1343 阅读 · 0 评论 -
socket
Windows Sockets 2.2兼容 Windows Sockets 1.1版本,导入wscock32.lib两种方法: #pragma comment(lib,"wsock32.lib") project->setting->link->添加wsock32.lib 1.1 头文件:WINSOCK.h 库文件:wsock32.lib 动态库:WINSOCK.DLL原创 2014-02-28 19:30:04 · 754 阅读 · 0 评论 -
win
// WinTimer.cpp : Defines the entry point for the application. // #include "stdafx.h" HINSTANCE g_hInst = NULL; HANDLE g_hStdOut = NULL; LRESULT CALLBACK WndProc(HWND hWnd,UINT nMsg, WPA原创 2014-02-28 19:29:46 · 670 阅读 · 0 评论