登录
首页 » Windows Socket编程 » P2P c++ sdk

P2P c++ sdk

于 2022-02-03 发布 文件大小:429.98 kB
0 313
下载积分: 2 下载次数: 1

代码说明:

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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 用套接字的方式连接2个电脑,之后在一方电脑上画图,另一方电脑可以实时显示...
    用套接字的方式连接2个电脑,之后在一方电脑上画图,另一方电脑可以实时显示-Way to use sockets to connect two computers on one computer after the drawing, the other computer can be real-time display
    2023-02-04 21:05:03下载
    积分:1
  • the purpose of this software is how to search, which is when the user input for...
    本软件的目的是如何进行网络搜索,也就是当用户输入查询关键词的时候,能够自动的网络资源里面进行查找相关资料。-the purpose of this software is how to search, which is when the user input for keywords, can automatically inside the network resources to search for relevant information.
    2022-08-12 16:18:04下载
    积分:1
  • 1。forumportal两放置。论坛的内容放forumportal内容…
    1. 放置好ForumPortal 2. 将论坛目录置于ForumPortal目录下 3. 执行http://.../Install.aspx安装 4. 确保对文件访问有足够的权限(EveryOne写入权限) 5. 执行3部安装过程后,将自动删除Install.aspx文件,若程序没有权限删除,则请手动删除 6. 倘若程序没有修改web.config的权限,请手动修改数据库连接串(数据库名称即为论坛数据库名称) 7. ForumPortal后台帐号,当然就是论坛后台帐号啦,一样-1. ForumPortal two well placed. Contents of the forum placed ForumPortal Contents under 3. implementation http : //.../ Install.aspx installation 4. to ensure there are sufficient documents to visit the competence (Ever yOne write competence) 5. implementation of three installation process, Install.aspx will automatically delete the document, if no authority to delete procedures, please manually delete 6. If the process is not the authority to amend sed, please manually modify the database connection strings (name of the database shall Forum database name) 7. ForumPortal background account, of course, is the background account-- the Forum, like
    2022-08-16 01:51:47下载
    积分:1
  • Dreamever建论坛示例
    Dreamever建论坛示例-Dreamever built examples Forum
    2022-07-26 04:17:44下载
    积分:1
  • vnc桌面共享,开发环境vc++,希望大家多多研究。
    vnc桌面共享,开发环境vc++,希望大家多多研究。-for desk share,devolepment enviroment is vc++.
    2022-04-15 22:43:14下载
    积分:1
  • asp即时通
    asp即时通-asp instant messaging
    2022-03-09 15:38:52下载
    积分:1
  • codeguru上的一个网络框架
    codeguru上的一个网络编程框架-codeguru the framework of a network programming
    2022-06-01 12:12:14下载
    积分:1
  • Client序同样分别创建一个TCP socket 和一个UDP socket,首先client使用TCP socket连接TCP Server。 连接成...
    Client程序同样分别创建一个TCP socket 和一个UDP socket,首先client使用TCP socket连接TCP Server。 连接成功后显示提示信息; 然后client端向TCP Server发送“GET UDP PORT”字符串,Server收到后向client回送自己的UDP Server 端口号(即Client端仅知道TCP Server的端口号而不知道UDP Server的端口号); client在收到UDP Server的端口号后, 为用户显示3个选项: 1.“Get current time(TCP)”服务器时间 2.“Echo Mode(UDP)”回显6 3.“Exit the program”. -Client program also creates a TCP socket, respectively, and a UDP socket, the first client to use TCP socket connection TCP Server. After a successful connection displays a prompt message and then client-side to the TCP Server sends " GET UDP PORT" string, Server receipt back to the client to send their UDP Server port number (ie, Client-side only to know the TCP Server" s UDP port number do not know Server" s port number) client received UDP Server port number, in order to the user three options: 1. " Get current time (TCP)" server time 2. " Echo Mode (UDP)" echo 63. " Exit the program" .
    2023-07-31 00:05:03下载
    积分:1
  • 使用列表模式实现对本地计算机的访问
    vc++采用list方式,实现获取本地计算机的ip地址-vc++ using list mode to achieve access to the local computer
    2022-08-13 22:50:56下载
    积分:1
  • java写的 动态互动景观全景好的例子代码
    java编写的 动态互动景观全景好的例子代码-prepared by the dynamic interaction panoramic landscapes good example code
    2022-02-20 15:34:35下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载