登录
首页 » Windows Socket编程 » UDP peer

UDP peer

于 2022-01-28 发布 文件大小:243.57 kB
0 193
下载积分: 2 下载次数: 1

代码说明:

目录UDP点对点聊天是一个UDP的点对点聊天程序,程序运行测试的时候,需要改变侦听端口,如果要在同一台机器上测试,需要改变一下程序设置,因为程序比较简单,所以没有增加设置功能,读者可以在自己程序中修改-UDP peer-to-peer chat directory is a UDP peer-to-peer chat program, the program run the test, when need to change the listening port, if the same machine testing procedures need to change settings, because the procedure is relatively simple, there is no increasing set function, readers can modify their own procedures

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

发表评论

0 个回复

  • 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
  • LDAP目录访问协议窗口光型和样品!
    Windows LDAP轻目录访问协议类及其示例!-Windows LDAP Directory Access Protocol light type and sample!
    2022-04-15 11:04:15下载
    积分:1
  • 异步socket
    异步socket类- Asynchronous socket kind
    2022-10-08 19:25:03下载
    积分:1
  • CListCtrl可以有多种风格,这次我用ICON类型来作一个例子序,ICON加上文字简直COOL极了...
    CListCtrl可以有多种风格,这次我用ICON类型来作一个例子程序,ICON加上文字简直COOL极了-CListCtrl can have many styles, I use this type of ICON as an example of procedures, ICON words simply add a very COOL
    2022-03-19 08:09:00下载
    积分:1
  • C++ programming language swap the standard output stream flow, the need to suppo...
    C++编程语言互换流中的标准输出流,需要iostream.h支持。读为 "c out"-C++ programming language swap the standard output stream flow, the need to support iostream.h. Reading for the " c out"
    2023-03-14 11:45:03下载
    积分:1
  • 用vc写的winsock
    用vc写的winsock-UDP程序,是学习winsock的好帮手!- Winsock-UDP procedure writes which with vc, is good helper which studies winsock!
    2022-03-03 21:09:44下载
    积分:1
  • VB的TCP聊天工具将服务端与客户端分开写,使用机器需先打开服务端,再在远机器使用客户端连接...
    VB的TCP聊天工具将服务端与客户端分开编写,使用机器需先打开服务端,再在远程机器使用客户端连接-VB TCP chatting tool services and client-prepared separately, the use of machines need to open the server, then the remote machine using the client
    2023-04-28 15:00:03下载
    积分:1
  • 可用于监控系统的简报窗口,接受到信号动作后自动弹出,不同报警类型显示不同颜色字体。...
    可用于监控系统的简报窗口,接受到信号动作后自动弹出,不同报警类型显示不同颜色字体。-Monitoring system can be used for briefing the window, received signal moves automatically pop-up, different alarm types show different color font.
    2023-08-21 12:05:03下载
    积分:1
  • RFC793
    RFC793传输控制协议(TRANSMISSION CONTROL PROTOCOL)-RFC793
    2022-02-04 15:26:24下载
    积分:1
  • Online bookstore online bookstore JSP source code reproduced in the preparation...
    网上书店 JSP的网上书店的源代码 非本人编写 转载的-Online bookstore online bookstore JSP source code reproduced in the preparation of non-I
    2022-04-19 01:55:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载