Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hossara/go_tcp_server_client
- Owner: Hossara
- License: mit
- Created: 2024-10-21T20:33:34.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-22T20:33:16.000Z (2 months ago)
- Last Synced: 2024-10-27T21:46:00.788Z (2 months ago)
- Topics: cuncurrency, go, golang, tcp, tcp-client, tcp-server, testing
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)