C ++中基于主题的发布/订阅设计模式的实现-使用套接字编程 [英] Topic-based Publish/Subscribe design pattern implementation in C++- Using socket programming

查看:520
本文介绍了C ++中基于主题的发布/订阅设计模式的实现-使用套接字编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C#中基于主题的发布/订阅设计模式实现-第一部分(使用套接字编程),在我需要的是与
中的相同实现之前进行了描述 Windows上的本机c ++(套接字编程),并认为服务器和客户端位于同一操作系统的不同计算机上.
请如果您能整个解释和实现,如果不告诉我什么步骤
以及我需要了解的c ++语言功能.谢谢!

Topic-based Publish/Subscribe design pattern implementation in C# - Part I (Using socket programming)this is described before what i need is the same implementation in
native c++ (socket programming)on windows and consider that the server and clients are on separate machines of same operating system.
please if you can the whole explanation and implementation if not tell me what steps
and what c++ language features i need to know. thank you !

推荐答案

请参阅

没有人会为此提供完整的解决方案,特别是因为您的说明相当模糊.习惯使用Google为自己做一些研究;我已经从 [ ^ ].
Nobody is going to give you a complete soloution for this, particularly as your specification is rather vague. Get used to using Google to do some research for yourself; I have given you a head start with this[^].


好的,谢谢您的帮助,
我真正想要的是使用c ++实现发布/订阅模式.
在c#中,在此站点的此处进行了描述.
ok thanks for your help,
what exactly i want is Implementing Publish/subscribe pattern using c++.
In c# it is described hereon this site.


这篇关于C ++中基于主题的发布/订阅设计模式的实现-使用套接字编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆