Echo is a simple IM (instant messaging) application using client/server model.
The name Echo comes from the prototype of this project, in which the messages sent to the server are simply sent back (echoed).
Support Windows only.
\path\to\svr.exe <ip> <port>
ip: The IPv4 address that the server wants to listen on (or 0.0.0.0
for every local IP).
port: The local port that the server wants to listen on (0-65535).
\path\to\cli.exe <ip> <port>
ip: The IPv4 address (of a server) that the client wants to connect to.
port: The port of the server (0-65535).
This project is based on CMake, so it is recommended to build it using CMake, with GCC (MSYS2, UCRT64) or MSVC as the compiler.
Clone the repository, run CMake in the root dir, and you will get cli.exe and svr.exe.
This repo is for learning purposes.
Codes will be separated into functions of APIs in the near future.
GUI is not planned.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。