-
P2P c++ sdk
P2P dll c++ ,
static emReturnType SetAppType(emAppType AppType);//设置程序类型,服务器emAppType_Server或者客户端emAppType_Client
static emReturnType SetClientCallback(IMsgCallback *pMsgCallback);//设置回调类,回调类继承IMsgCallback接口
static emReturnType Startup();//开启网络
static emReturnType Cleanup();//关闭网络
//Server 以下函数是服务器调用
static emReturnType BeginService(unsigned short nPort);//如果是服务器,调用该函数开启服务,nPort:端口号
static emReturnType EndService();//服务器退出的时候,调用该函数关闭服务
//Client 以下函数是客户端调用
static emReturnType Logon(LOGONINFO* pLogonInfo);//函数登录服务器。pLogonInfo:登录信息,详细见P2PHeaderDef.h->LOGONINFO
static emReturnType Logout();//登出服务器
static emReturnType ConnectAnchor(CLIENTINFO* pClientInfo);//连接主播,该函数是用户调用
static emReturnType SendP2PMSG(CLIENTINFO* pClientInfo, char* pszMsg, int nMsgLen);//发送P2P消息,pClientInfo,要发送的客户信息,如果是用户,则pClientI
- 2022-02-03 19:54:38下载
- 积分:1
-
EXT FUNCTION 4.0
TRICON SIS SYSTEM ANTI-SURGE LIBARY
- 2020-06-19 06:00:01下载
- 积分:1
-
chatroom
一个简单的聊天室,用java做的,功能不是很全,但基本功能还是有的(A simple chat room, to do with java, feature is not very wide, but the basic function or some)
- 2008-05-29 13:30:37下载
- 积分:1
-
Guessnumber
猜数字游戏 游戏说明: 1、游戏开始,电脑随机产生一个数字不重复的四位数。 2、将您猜的数点击OK按钮提交。 3、电脑会将您提交的数与它自动产生的数进行比较,结果显示成"*A*B"。A代表位置正确数字也正确,B代表数字 正确但位置不正确,比如:"2A2B"表示您有2个数字的位置正确且数值也正确,除此以外,您还猜对了2个数字 ,但位置不对。 4、您共有10次机会,在10次内,如果结果为“4A0B”,游戏成功。如果10次里您都没有猜对游戏失败。(Guessnumber: 1, games started, the computer randomly generated a number of non-repetition of the four-digit. 2, would you guess the number of clicks the OK button to submit. 3, the computer will take you to submit a few with it automatically generated a number of comparison, the result is displayed as* A* B . A representative of the location of the correct figure is also correct, B representative of the number of correct but the location is incorrect, such as: 2A2B that you have a two-digit numerical position is correct and also the right, in addition, you guessed it two figures, but wrong location. 4, your opportunity for a total of 10 times in 10 times, if the results of 4A0B , the game successfully. 10 years if you do not have to guess the failure of the game.)
- 2021-03-22 08:19:17下载
- 积分:1
-
Use UDP protocal to transport files between different IP with limited data packa...
用UDP协议限制单个数据包大小实现互联网内文件传输。-Use UDP protocal to transport files between different IP with limited data package.
- 2022-10-25 11:50:02下载
- 积分:1
-
WpfApplication1
简单的mvvm wpf做的点菜系统,是学习MVVM 的最好的列子(A simple MVVM WPF order)
- 2017-06-09 16:43:39下载
- 积分:1
-
KCBJ
说明: 库存仿真,对比各策略,选择优化,相互比较(Stock simulation, comparing the strategy, select the optimization, compared with each other)
- 2010-04-01 13:46:08下载
- 积分:1
-
GpsTool(20130913)
坐标转换,可将坐标从大地坐标转换为地方坐标并可以反转(Coordinate conversion, coordinate conversion from geodetic coordinates to local coordinates and can be reversed)
- 2014-05-28 17:05:36下载
- 积分:1
-
nomponent
教你怎样添加一个状态条到对话框的应用程序,程序代码十分详细()
- 2017-09-17 15:22:56下载
- 积分:1
-
基 于 MFC 的 WinSock 客 户 端 程 序 设计
基 于 MFC 的 WinSock 客 户 端 程 序 设计-MFC-based client for WinSock Programming
- 2022-03-18 22:54:01下载
- 积分:1