简单的 C++即时通讯工具

发布于 2024-08-12 21:03:35 字数 161 浏览 5 评论 0原文

我想为 LAN 网络和互联网(直接 IP 连接)制作一个非常简单的 C++ 即时通讯程序。我对套接字知之甚少。我在互联网上搜索,但没有任何帮助。我希望有人建议一份操作方法/教程/指南。我只想发送和接收消息(在控制台窗口中,我稍后将创建 GUI)。我希望它同时适用于 Linux 和 Windows。提前致谢!

I want to make a very simple c++ instant messenger for lan networks and internet (direct IP connect). I know little about sockets. I searched the internet, but nothing really helped. I would someone to suggest a howto/tutorial/guide. I just want to send and receive messages (in a console window, I'll create the gui later). I want it to be for both Linux and Windows. Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

打小就很酷 2024-08-19 21:03:35

查看 Boost.Asio。它是可移植的,并且还有一个实现简单聊天的示例。

Checkout Boost.Asio. It's portable, and it's also got an example that implements a simple chat.

微暖i 2024-08-19 21:03:35

查看 Boost.ASIO

check out Boost.ASIO

谈下烟灰 2024-08-19 21:03:35

这里有一些 C/S 聊天应用程序的源代码,您可以使用它来入门。

马斯。

示例代码

There's some source code here for a C/S chat application that you could probably use to get started.

Mas.

Example Code

小矜持 2024-08-19 21:03:35

使用boost,跨平台,下链接,客户端-服务器聊天的直接示例。

Use boost, cross platform, under the link, straight forward example for client-server chat.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文