Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

refactor: TCP server to use standard library instead of syscalls #10

Merged
merged 6 commits into from
Jun 15, 2024

Conversation

ggmolly
Copy link
Owner

@ggmolly ggmolly commented Jun 15, 2024

  1. No longer using syscall package, instead use Go's net module
  2. Disconnect all clients when CTRL+C is received
  3. Each clients runs in a Goroutine to avoid potential concurrency issues

@ggmolly ggmolly self-assigned this Jun 15, 2024
@ggmolly ggmolly added enhancement network Concerns the network part of Belfast labels Jun 15, 2024
@ggmolly ggmolly merged commit 2e473de into main Jun 15, 2024
2 checks passed
@ggmolly ggmolly deleted the feat/portable-tcp-server branch June 15, 2024 18:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement network Concerns the network part of Belfast
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant