当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: WORD wVersion=MAKEWORD(2,0);WSAD
 

 

    摘要:1、run-time libraryrun-time library是编译器提供的标准库,提供一些基本的库函数和系统调用。我们一般使用的run-time library是c run-time libraries。当然也有standard c++ libraries。 c run-time libraries实现ansi c的标准库。vc安装目录的crt目录有c run-time库的大部分源代码。 ......
    摘要:#include "stdafx.h"#include "stdio.h"#include "string.h"#include "mstcpip.h"#include "winsock2.h"#pragma comment(lib,"ws2_32.lib")#define st......


socket实现tcp/ip服务端源码,无线程

 if(nresult !=0) {  messagebox("版本不对","ok",mb_ok);   return; } socket sock=socket(af_inet,sock_stream,ipproto_ip); 【推荐阅读:MFC和ATL控件创建签署的CAB文件

 word wversion=makeword(2,0); wsadata wsdata; int nresult= wsastartup(wversion,&wsdata);


...   下一页
 ·visual c 串口操作     »显示摘要«
    摘要:window 95串口通讯函数集合(只适用于32位) 需要说明的是:这是我程序的一部分,因此有一些与具体应用无关的部分。 但我觉得关键是原理,而不是程序本身.后面有些使用介绍,帮助理解这长的程序。 头文件(.h) #include "stdafx.h" #define gwl_pgpsinfo 0 #define gpsextrabytes sizeof( long ) #de......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE