jitpaul / gRPC_chat

A simple gRPC based chat application in C++
6 stars 3 forks source link

is this real-time chat sample ? #1

Open nvcken opened 5 years ago

nvcken commented 5 years ago

Could you pls elaborate how clients chat together via gRPC server ?

jitpaul commented 5 years ago

Please note that this is a very basic chat. A client (chat_client) that talks to the server (chat_server) can either 1) start a session or 2) join a session. When the client starts a session, a 'session_id' is assigned to the client. Any other client (other instances of chat_client) can join the same session using this 'session_id'.

freeman53 commented 2 years ago

QQ图片20221018230031 If two people add a session, a crash will occur when one closes the client and the other continues to chat