We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
虽然这个答案来得太晚了,但我在我的游戏中使用 OpenTNL,Bitfighter,而且我真的很喜欢它。 我在 OS X、Windows 和 Linux 上使用它没有任何问题。 确实,它不是由它的创建者维护的,但是当我有时间时,我将为它创建一个新的 SourceForge 项目,以便人们有地方发布他们的补丁。 它很稳定并且(相当)有很好的文档,所以我建议再看一下。
Though this answer comes late to the party, I'm using OpenTNL for my game, Bitfighter, and I really like it. I use it on OS X, Windows, and Linux without a hitch. True, it's not maintained by its creator, but when I get the time, I'm going to create a new SourceForge project for it so people have a place to post their patches. It's stable and (fairly) well documented, so I would recommend giving it another look.
我一直在寻找非常相似的东西,但没有成功。 因此,我决定创建自己的 C++ 网络库,在撰写本文时它尚未完成,但很快就会完成。 如果您有兴趣尝试,我会及时通知您最新情况。 到目前为止,它的功能包括 TCP/UDP、IPv4、IPv6 异步/同步和多播。 如果您认为应该实现任何其他功能,请告诉我:)
I have been looking for something very similar, but to no avail. So, I decided to create my own C++ Networking Library, at the time of this writing it isn't complete, but will be very soon. I will keep you up to date if your interested in trying it out. It's features so far are TCP/UDP, IPv4, IPv6 Async/Sync and multicasting. If there are any other features you have in mind that should be implemented, just let me know :)
Unfortunately network programming tends to be non-trivial.
Said that you would be advised to get aquainted with the network programming facilities from either Boost or ACE, as both are mature libraries that have been successfully employed in many applications.
发布评论
评论(4)
Ogre3D wiki 提供了网络库列表和简短描述对于他们来说。
The wiki of Ogre3D provides a list of networking libraries and a short description for them.
虽然这个答案来得太晚了,但我在我的游戏中使用 OpenTNL,Bitfighter,而且我真的很喜欢它。 我在 OS X、Windows 和 Linux 上使用它没有任何问题。 确实,它不是由它的创建者维护的,但是当我有时间时,我将为它创建一个新的 SourceForge 项目,以便人们有地方发布他们的补丁。 它很稳定并且(相当)有很好的文档,所以我建议再看一下。
Though this answer comes late to the party, I'm using OpenTNL for my game, Bitfighter, and I really like it. I use it on OS X, Windows, and Linux without a hitch. True, it's not maintained by its creator, but when I get the time, I'm going to create a new SourceForge project for it so people have a place to post their patches. It's stable and (fairly) well documented, so I would recommend giving it another look.
我一直在寻找非常相似的东西,但没有成功。 因此,我决定创建自己的 C++ 网络库,在撰写本文时它尚未完成,但很快就会完成。 如果您有兴趣尝试,我会及时通知您最新情况。 到目前为止,它的功能包括 TCP/UDP、IPv4、IPv6 异步/同步和多播。 如果您认为应该实现任何其他功能,请告诉我:)
I have been looking for something very similar, but to no avail. So, I decided to create my own C++ Networking Library, at the time of this writing it isn't complete, but will be very soon. I will keep you up to date if your interested in trying it out. It's features so far are TCP/UDP, IPv4, IPv6 Async/Sync and multicasting. If there are any other features you have in mind that should be implemented, just let me know :)
不幸的是,网络编程往往并不简单。
建议您熟悉 Boost 或 ACE 的网络编程工具,因为它们都是成熟的库,已在许多应用程序中成功使用。
我还建议阅读 C++ 网络编程:使用 ACE 和模式掌握复杂性 和 C++ 网络编程:使用 ACE 和框架进行系统重用
Unfortunately network programming tends to be non-trivial.
Said that you would be advised to get aquainted with the network programming facilities from either Boost or ACE, as both are mature libraries that have been successfully employed in many applications.
I would also suggest to read C++ Network Programming: Mastering Complexity Using ACE and Patterns and C++ Network Programming: Systematic Reuse with ACE and Frameworks