客户端/服务器网络编程的好起点?
我有丰富的 C++ 经验(本地),但我从未真正涉足网络编程(例如:游戏、聊天软件或从网站获取文件的软件。)哪里是一个很好的起点?最好是跨平台的教程,可能还有某种项目(不仅仅是理论)。我发现了数百个很棒的 C++ 教程,但很少有关于网络编程的教程(这不一定是 Web 编程)。
谢谢
I have lots of experience with C++, (native) but I have never really ventured into network programming (example: games, chat software, or software that gets a file from a Web Site. )Where would be a good place to start for this? Preferably tutorials which are cross platform, and possibly some sort of project (not just theory). I ave found hundreds of great tutorials for C++, but few for Network programming) (which is not necessarily web programming).
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你可以从一个简单的HTTP服务器开始,它会引导你了解HTTP协议、文件操作、多线程/事件处理等。或者分布式文件系统/缓存系统等。其中有很多乐趣。
You can start with a simple HTTP server, which will lead you to HTTP protocol, file operations, multi-thread/event handling and etc. Or a distributed file system/cache system and etc. A lot of fun in it.
Boost.Asio 是一个非常棒的跨平台 C++ 网络库。 示例和教程很简单。
boost-asio 标签中还有很多关于 stackoverflow 的帮助
Boost.Asio is a fantastic cross-platform C++ networking library. The examples and tutorials are straightforward.
There's also plenty of help on stackoverflow in the boost-asio tag