Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 642 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 642 Bytes

GO TCP basic client and server

A practical project to learn how a TCP server and client works in GoLang

Project structure

. Project (root)
├── main.go (Project runner)
├── utils (Project utilities)
│   └── utils.go (Contains Decode and Encode Functions)
├── server
│   └── server.go
├── client
│   └── client.go

Setup

Make sure you install go version 1.23.2

And just make run file executable

sudo chmod +x ./run

Commands

# Run application
./run app

# Run tests
./run test

Maintainer

Hossein Araghi