Skip to content

lukaskj/simple-udp-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple UDP server/client chat made in Go

First project in Go done for study purpose

Dependencies

go get -u github.com/satori/go.uuid

Server

  1. Build
go build -o ./build/server ./server/main.go ./server/server.go
  1. Run server
./build/server

Currently port 8080 is fixed in code (plans to add port via arguments)

Server commands:

  • q or quit: shutdown server and send it to all clients
  • users: list of connected users
  • debug: toggle debug mode (prints all receiving messages to console)

Client

  1. Build
go build -o ./build/client ./client/main.go
  1. Run
./build/client

Currently localhost:8080 is fixed in code (plans to add ip:port via arguments)

Client commands:

  • :q or :quit: disconnect from server

About

Simple UDP server/client chat made in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages