Skip to content

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

License

Notifications You must be signed in to change notification settings

Hossara/go_tcp_server_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks