-
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
-
两台机器间的串口通讯,介绍了两台主机之间的串口通迅
两台机器间的串口通讯,介绍了两台主机之间的串口通迅-between the two machines serial communications, introduced the console between the two serial communications
- 2022-08-16 09:21:56下载
- 积分:1
-
关于TCP,UDP协议的网络编程,程序实现了客户端和服务器端的通信连接,通过socket建立连接,可以互相发送消息接收。...
关于TCP,UDP协议的网络编程,程序实现了客户端和服务器端的通信连接,通过socket建立连接,可以互相发送消息接收。-On TCP, UDP network programming protocols, procedures realize the client and server communications connections to establish a connection through the socket, you can send a message to receive each other.
- 2023-06-06 06:00:03下载
- 积分:1
-
简单的SMTP和POP3实现,适合初学者使用。
简单的SMTP和POP3实现,适合初学者使用。-Simple SMTP and POP3 realize is suitable for beginners to use.
- 2022-02-04 20:33:02下载
- 积分:1
-
模拟邮件客户端代码。类似于Foxmail,可以从Mail网站收邮件。
模拟邮件客户端代码。类似于Foxmail,可以从Mail网站收邮件。-Mail client simulation code. Similar Foxmail, can incoming mail from the Mail website.
- 2022-09-17 17:40:03下载
- 积分:1
-
这是完整的一个C/S的客户服务端程序!但是我希望加点功能!请大家帮帮忙,“我要做的是客户端和服务器正常运行的情况下,如果网络断了,(比如说我把网络弄掉了,然后再...
这是完整的一个C/S的客户服务端程序!但是我希望加点功能!请大家帮帮忙,“我要做的是客户端和服务器正常运行的情况下,如果网络断了,(比如说我把网络弄掉了,然后再接好)过了一会网络恢复正常,客户端能自动连接到服务器端,不能人工干涉! 我查了一些资料,在VC里有一个函数OnTimer(nIDEvent)可以定时产生事件!可以实现这个功能,但是我用了,还是连不上,请大家帮帮忙吧!做好后给我发到我的邮箱里!谢谢!-This is a complete C/S programe,but I hope put more function into it.Please help me.Fllowing is I ll want to do.When client is communicating with server normally,the network link is down. After while the link recovery(ie,I take the cable out from the computer then plug it in.)The Client can reconnect the server automatically not redo by human.I study some reference information to do it.There is a function OnTimer(nIDEvent) in VC can send event message periodically.But I still can t reconnect.Please help me to do it and then mail to me. Thanks.
- 2022-03-31 05:36:33下载
- 积分:1
-
smurf程序,用做dos
smurf程序,用做dos-enormously procedures used to make dos
- 2022-04-01 13:11:49下载
- 积分:1
-
vb的自动关闭消息框,你有用得着的时候,还不赶快下载??不下白不下,下了也白下,...
vb的自动关闭消息框,你有用得着的时候,还不赶快下载??不下白不下,下了也白下,-vb the closing news box, you have worthwhile when not quickly download? ? High white high, also under a white,
- 2023-06-07 00:01:11下载
- 积分:1
-
此代码通过 NetApi32.dll 中提供的API来实现 Windows 系统中网卡MAC地址的获取...
此代码通过 NetApi32.dll 中提供的API来实现 Windows 系统中网卡MAC地址的获取-This code Netapi32.dll provided through the API to achieve the Windows System network card MAC address access
- 2023-01-23 03:45:03下载
- 积分:1
-
一个类似FLASHGET的下载器,在Visual C++ 6环境下开发的…
一个类似FLASHGET的下载器,在Visual C++ 6.0环境下开发的,想写自己的下载工具的朋友不要错过欧!-a similar FLASHGET download devices on the Visual C 6.0 development environment. write their own download tools friends would not miss Europe!
- 2022-01-28 21:00:37下载
- 积分:1