Skip to content

floweryclover/simple-chat-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleChatCpp

Boost Asio 라이브러리를 이용한 간단한 TCP 채팅 예제입니다.
헤더/바디 구조로 패킷을 송수신하는 방식으로 통신합니다.

A simple example of TCP Client-Server chat program using boost asio library.
Each client and server communicate by transfering packets consists of header and body.

  • C++20
  • Windows 10 / MSVC
  • Boost 1.83.0

Server Usage

server.exe <ip> <port> <channel-password>

All client attempt to connect are required to enter channel-password

Client Usage

client.exe <ip> <port>

After successful connection, each client are requested to enter channel-password(passkey) and nickname.

About

example about transferring data between tcp sockets

Topics

Resources

License

Stars

Watchers

Forks

Languages