Skip to content

7adidaz/rpc-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event-driven chat room using RPC.

How to run it?

  • $ ./test_mine.sh or
  • you can run a server and multiple clients using $ go run server.go and in another terminal $ go run client.go.

Server responsibilities:

  • recognize clients (clients ping the server Server.Ping)
  • assign them ports to run on (Server.Recognise)
  • receive messages and forward them (Server.Send)

Client:

  • Ping the server for port
  • runs on that port
  • receive messages (Client.Recieve)

Connection Diagram:

Connection Diagram

About

Chat room using RPC by GOlang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published