Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hossara/go_tcp_server_client

A practical project to learn how a TCP server and client works in GoLang
https://github.com/hossara/go_tcp_server_client

cuncurrency go golang tcp tcp-client tcp-server testing

Last synced: 14 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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

### Project structure
```text
. 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
```bash
sudo chmod +x ./run
```

### Commands
```bash
# Run application
./run app

# Run tests
./run test
```

### Maintainer
[Hossein Araghi](https://linkedin.com/in/hossara)